Update style

pull/1976/head
Jimmy Brisson 2016-06-24 12:04:31 -05:00
parent 7e5deaa7d0
commit d757f35d15
1 changed files with 4 additions and 2 deletions

View File

@ -225,8 +225,10 @@ def argparse_many(fn):
return wrap
def argparse_filestring_type(string) :
if exists(string) : return string
else : raise argparse.ArgumentTypeError("{0} does not exist in the filesystem.".format(string))
if exists(string) :
return string
else :
raise argparse.ArgumentTypeError("{0}"" does not exist in the filesystem.".format(string))
def columnate(strings, seperator=", ", chars=80):
col_width = max(len(s) for s in strings)