aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'pomu/source/url.py')
-rw-r--r--pomu/source/url.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/pomu/source/url.py b/pomu/source/url.py
index 0759e5c..8f0366c 100644
--- a/pomu/source/url.py
+++ b/pomu/source/url.py
@@ -14,7 +14,7 @@ from pomu.util.result import Result
class URLEbuild(PackageBase):
"""A class to represent an ebuild fetched from a url"""
- __name__ = 'fs'
+ __cname__ = 'url'
def __init__(self, url, contents, category, name, version, slot):
self.url = url
@@ -64,6 +64,8 @@ class URLGrabberSource(BaseSource):
The source module responsible for grabbing modules from URLs,
including pastebins
"""
+ __cname__ = 'url'
+
@dispatcher.handler(priority=5)
def parse_link(uri):
if not (uri.startswith('http://') or uri.startswith('https://')):