]> git.ipfire.org Git - people/stevee/pakfire.git/commitdiff
base: Remove unused environ property.
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 28 Oct 2012 13:58:38 +0000 (14:58 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 28 Oct 2012 13:58:38 +0000 (14:58 +0100)
python/pakfire/base.py
python/pakfire/packages/make.py

index 5a9630423ffef1a6e60a5bea37b9360ceac942a1..d4f555fb1696312b4bff615c62d0e3445e95cffb 100644 (file)
@@ -112,15 +112,6 @@ class Pakfire(object):
 
                self.initialized = False
 
-       @property
-       def environ(self):
-               env = {}
-
-               # Get distribution information.
-               env.update(self.distro.environ)
-
-               return env
-
        @property
        def supported_arches(self):
                return system.supported_arches
index 37d9c5e5c5a55f443fa48e59a9099800742cfd5d..4420ab2f1b20325d9349c8eec1114c8eb9cb67fb 100644 (file)
@@ -54,7 +54,7 @@ class MakefileBase(Package):
                self.filename = os.path.abspath(filename)
 
                # Update environment.
-               environ = self.pakfire.environ
+               environ = self.pakfire.distro.environ
                environ.update({
                        "BASEDIR"          : os.path.dirname(self.filename),
                        "PARALLELISMFLAGS" : "-j%d" % system.parallelism,