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

Refactor and remove unused function

parent f9bbbf05
......@@ -24,16 +24,9 @@ class ModuleArgs(object):
"""Set the module arguments"""
self.parent = parent
self.url = url
if source == None:
self.source = fetch.LOCAL
else:
self.source = source
self.source = source or fetch.LOCAL
self.fetchto = fetchto
def get_args(self):
"""Get the module arguments"""
return self.parent, self.url, self.source, self.fetchto
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