diff options
-rw-r--r-- | pomu/source/bugz.py | 4 | ||||
-rw-r--r-- | pomu/source/file.py | 2 | ||||
-rw-r--r-- | pomu/source/url.py | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/pomu/source/bugz.py b/pomu/source/bugz.py index 5ecace5..c85cee1 100644 --- a/pomu/source/bugz.py +++ b/pomu/source/bugz.py @@ -43,7 +43,7 @@ class BzEbuild(PackageBase): f.write(self.bug_id + '\n') def __str__(self): - return super().__str__() + ' (from {})'.format(self.path) + return super().__str__() + ' (from bug {})'.format(self.bug_id) CLIENT_BASE = 'https://bugs.gentoo.org/xmlrpc.cgi' @@ -110,4 +110,4 @@ class BugzillaSource(BaseSource): @classmethod def from_meta_dir(cls, metadir): - return BzEbuild.from_data_dir(cls, metadir) + return BzEbuild.from_data_dir(metadir) diff --git a/pomu/source/file.py b/pomu/source/file.py index a3a7e91..51f86c6 100644 --- a/pomu/source/file.py +++ b/pomu/source/file.py @@ -82,4 +82,4 @@ class LocalEbuildSource(BaseSource): @classmethod def from_meta_dir(cls, metadir): - return LocalEbuild.from_data_dir(cls, metadir) + return LocalEbuild.from_data_dir(metadir) diff --git a/pomu/source/url.py b/pomu/source/url.py index b0ad2be..6aca558 100644 --- a/pomu/source/url.py +++ b/pomu/source/url.py @@ -94,4 +94,4 @@ class URLGrabberSource(BaseSource): @classmethod def from_meta_dir(cls, metadir): - return URLEbuild.from_data_dir(cls, metadir) + return URLEbuild.from_data_dir(metadir) |