aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2017-05-05 20:55:02 +0200
committerPatrice Clement <monsieurp@gentoo.org>2017-05-05 20:55:02 +0200
commit69e870f632090045c0b1df13b32a5a40791f1854 (patch)
tree64d8f16c642d4e89ca7f1af8414abbdc8a18284c
parentorganise imports (diff)
downloadjava-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.py6
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