Skip to content
Snippets Groups Projects
Commit d05b9bae authored by Guillaume Valadon's avatar Guillaume Valadon Committed by GitHub
Browse files

Merge pull request #597 from p-l-/fix-flags

FlagValue: use consistant (always a string) output
parents d530da66 645a2fe6
No related branches found
No related tags found
No related merge requests found
......@@ -1053,7 +1053,7 @@ class FlagValue(object):
r.append(self.names[i])
i += 1
x >>= 1
return ("+" if self.multi else "").join(r) if r else int(self)
return ("+" if self.multi else "").join(r)
def __repr__(self):
return "<Flag %d (%s)>" % (self, self.flagrepr())
def __deepcopy__(self, memo):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment