From: greg Date: Fri, 25 Nov 2005 20:08:20 +0000 (+0000) Subject: correct total item count, add shebang line X-Git-Tag: ljdump-1.3.2~25 X-Git-Url: http://wagner.pp.ru/gitweb/?a=commitdiff_plain;h=009897e32330c8f30d21118e3c2bbb848c9344e0;p=oss%2Fljdump.git correct total item count, add shebang line git-svn-id: file:///home/svn/ljdump/trunk@7 7994a137-d0a5-da11-ade6-0050bffea3d9 --- diff --git a/ljdump.py b/ljdump.py index 67e1851..29df3de 100755 --- a/ljdump.py +++ b/ljdump.py @@ -1,7 +1,8 @@ +#!/usr/bin/python # # ljdump.py - livejournal archiver # Greg Hewgill http://hewgill.com -# Version 1.0 +# Version 1.0.1 # # $Id$ # @@ -119,8 +120,8 @@ while True: print "Error getting item: %s" % item['item'] pprint.pprint(x) errors += 1 + total += 1 last = item['time'] - total += 1 print "%d total entries" % total print "%d fetched entries" % fetched if errors > 0: