Skip to content

Commit

Permalink
removed f-string from namespace __repr__ method
Browse files Browse the repository at this point in the history
  • Loading branch information
snake-biscuits committed Oct 24, 2019
1 parent 792aa7d commit e797e0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/python/utilities/vmf.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def __len__(self):

def __repr__(self):
attrs = [a if ' ' not in a else '"{}"'.format(a) for a in self.__dict__.keys()]
return f"namespace([{', '.join(attrs)}])"
return "namespace([{}])".format(", ".join(attrs))

def items(self): # fix for lines_from
for k, v in self.__dict__.items():
Expand Down

0 comments on commit e797e0c

Please sign in to comment.