# # # patch "viewmtn.py" # from [cef0b97f618b6e532dc9e70b41142e19e27ea5ec] # to [159580044206e361ce64df05991673365ca0deab] # ============================================================ --- viewmtn.py cef0b97f618b6e532dc9e70b41142e19e27ea5ec +++ viewmtn.py 159580044206e361ce64df05991673365ca0deab @@ -336,8 +336,8 @@ class Tags: def GET(self, restrict_branch=None): # otherwise we couldn't use automate again.. tags = map(None, ops.tags()) - restrict_branch = mtn.Branch(restrict_branch) if restrict_branch != None: + restrict_branch = mtn.Branch(restrict_branch) def tag_in(tag): for branch in tag.branches: if branch.name == restrict_branch.name: