Commit 29b8e1c1 authored by Florian Pritz's avatar Florian Pritz
Browse files

Simplify __init__


Signed-off-by: Florian Pritz's avatarFlorian Pritz <bluewind@xinu.at>
parent 612fa40a
......@@ -16,11 +16,8 @@ class ArchiveUploader:
See the <a href="https://wiki.archlinux.org/index.php/Arch_Linux_Archive">Arch Linux Archive documentation</a> for details.
"""
def __init__(self, internetarchive = None):
if internetarchive is not None:
self.ia = internetarchive
else:
self.ia = ia
def __init__(self, internetarchive = ia):
self.ia = internetarchive
pass
......
Supports Markdown
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