Commit 9d0312ec authored by Tristan Gingold's avatar Tristan Gingold

Refactor and remove unused function

parent f9bbbf05
...@@ -24,16 +24,9 @@ class ModuleArgs(object): ...@@ -24,16 +24,9 @@ class ModuleArgs(object):
"""Set the module arguments""" """Set the module arguments"""
self.parent = parent self.parent = parent
self.url = url self.url = url
if source == None: self.source = source or fetch.LOCAL
self.source = fetch.LOCAL
else:
self.source = source
self.fetchto = fetchto self.fetchto = fetchto
def get_args(self):
"""Get the module arguments"""
return self.parent, self.url, self.source, self.fetchto
class ModuleContent(ModuleCore): class ModuleContent(ModuleCore):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment