diff options
author | Patrice Clement <monsieurp@gentoo.org> | 2017-05-05 20:55:02 +0200 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2017-05-05 20:55:02 +0200 |
commit | 69e870f632090045c0b1df13b32a5a40791f1854 (patch) | |
tree | 64d8f16c642d4e89ca7f1af8414abbdc8a18284c | |
parent | organise imports (diff) | |
download | java-config-69e870f632090045c0b1df13b32a5a40791f1854.tar.gz java-config-69e870f632090045c0b1df13b32a5a40791f1854.tar.bz2 java-config-69e870f632090045c0b1df13b32a5a40791f1854.zip |
kill another header and trim yet again whitespaces
-rw-r--r-- | src/java_config_2/Package.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/java_config_2/Package.py b/src/java_config_2/Package.py index fc0d96d..136c8cb 100644 --- a/src/java_config_2/Package.py +++ b/src/java_config_2/Package.py @@ -1,8 +1,6 @@ # -*- coding: UTF-8 -*- - # Copyright 2004-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: $ from .FileParser import * @@ -44,7 +42,7 @@ class Package: def target(self): return self.query("TARGET") - + def query(self, var): """ Return the value of the requested var form the env file @@ -59,7 +57,7 @@ class Package: Return all packages this package depends on """ return self.__get_deps("DEPEND") - + def opt_deps(self): """ Return all packages this package optionally depends on |