summaryrefslogtreecommitdiff
path: root/portato/eix
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2009-08-14 17:30:07 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2009-08-14 17:30:07 +0200
commit308766600eadee21d122091fbe24950e89417280 (patch)
tree6291fa159b8a5b96b61cd3f8a0e67961679dd3a3 /portato/eix
parent1b6c4b715293c97dcd7256469aa2287ecfc2e656 (diff)
downloadportato-308766600eadee21d122091fbe24950e89417280.tar.gz
portato-308766600eadee21d122091fbe24950e89417280.tar.bz2
portato-308766600eadee21d122091fbe24950e89417280.zip
Fix overlay class
Diffstat (limited to 'portato/eix')
-rw-r--r--portato/eix/parser.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/portato/eix/parser.py b/portato/eix/parser.py
index d5265fa..6e12973 100644
--- a/portato/eix/parser.py
+++ b/portato/eix/parser.py
@@ -119,9 +119,9 @@ class LazyElement (object):
class overlay (object):
__slots__ = ("path", "label")
- def __init__ (file, skip = False):
+ def __init__ (self, file, skip = False):
self.path = LazyElement(string, file)
- self.label = LazyElement(string, label)
+ self.label = LazyElement(string, file)
class header (object):
__slots__ = ("version", "ncats", "overlays", "provide",