newlines at the end of the files

This commit is contained in:
Jimmy Cao 2011-08-09 15:01:17 -05:00
parent 8c03005a88
commit 51fe49d9e9
3 changed files with 2 additions and 3 deletions

View File

@ -86,4 +86,4 @@ def unhook(hdict, id):
if x.id == id:
hdict[cmd].remove(x)
if not hdict[cmd]:
del hdict[cmd]
del hdict[cmd]

1
var.py
View File

@ -233,4 +233,3 @@ def update_role_stats(clk, role, won, iwon):
c.execute("INSERT OR REPLACE INTO rolestats VALUES (?,?,?,?,?)",
(plid, rid, wins, iwins, total))

View File

@ -99,4 +99,4 @@ if __name__ == "__main__":
try:
main()
except:
logging.error(traceback.format_exc())
logging.error(traceback.format_exc())