From: greg Date: Mon, 26 Dec 2005 00:34:07 +0000 (+0000) Subject: handle missing .last properly X-Git-Tag: ljdump-1.3.2~18 X-Git-Url: http://wagner.pp.ru/gitweb/?a=commitdiff_plain;h=61a7a4bab5bf54e5a114abea534e3b5564dd8cf8;p=oss%2Fljdump.git handle missing .last properly git-svn-id: file:///home/svn/ljdump/trunk@14 7994a137-d0a5-da11-ade6-0050bffea3d9 --- diff --git a/ljdump.py b/ljdump.py index 318b459..e642974 100755 --- a/ljdump.py +++ b/ljdump.py @@ -92,8 +92,8 @@ new = 0 errors = 0 last = "" -f = open("%s/.last" % Username, "r") try: + f = open("%s/.last" % Username, "r") last = f.readline() if last[-1] == '\n': last = last[:len(last)-1]