# HG changeset patch # User Walter Cruz # Date 1250709484 10800 # Node ID fa175368618d193b2907d2f374b4fd1c2406999d # Parent 606307f5bfa1f8aec5d479d8328fd2d8697b0717 Fixing identation diff -r 606307f5bfa1 -r fa175368618d feed2twitter/feed2twitter.egg-info/PKG-INFO --- a/feed2twitter/feed2twitter.egg-info/PKG-INFO Wed Aug 19 16:09:48 2009 -0300 +++ b/feed2twitter/feed2twitter.egg-info/PKG-INFO Wed Aug 19 16:18:04 2009 -0300 @@ -1,6 +1,6 @@ Metadata-Version: 1.0 Name: feed2twitter -Version: 0.6.4dev +Version: 0.6.5dev Summary: Publish your feed items to twitter Home-page: http://www.assembla.com/spaces/feed2twitter Author: Walter Cruz diff -r 606307f5bfa1 -r fa175368618d feed2twitter/feed2twitter/__init__.py --- a/feed2twitter/feed2twitter/__init__.py Wed Aug 19 16:09:48 2009 -0300 +++ b/feed2twitter/feed2twitter/__init__.py Wed Aug 19 16:18:04 2009 -0300 @@ -121,27 +121,27 @@ except IOError: print >>sys.stderr, "File %s not found" % configfile sys.exit(2) - conf.readfp(fd) + conf.readfp(fd) - url = conf.get("global", "url").strip() - username = conf.get("global", "username").strip() - password = conf.get("global", "password").strip() - mode = conf.get("global","mode").strip() - try: - items = int(conf.get("global","items").strip()) - except NoOptionError: - items = 5 + url = conf.get("global", "url").strip() + username = conf.get("global", "username").strip() + password = conf.get("global", "password").strip() + mode = conf.get("global","mode").strip() + try: + items = int(conf.get("global","items").strip()) + except NoOptionError: + items = 5 - try: - interval = parsetime(conf.get("global","interval").strip()) - except: - print('Error in the interval setting') - sys.exit(1) + try: + interval = parsetime(conf.get("global","interval").strip()) + except: + print('Error in the interval setting') + sys.exit(1) - try: - shortener = conf.get('global','shortener').strip() - except NoOptionError: - shortener = 'tinyurl' + try: + shortener = conf.get('global','shortener').strip() + except NoOptionError: + shortener = 'tinyurl' else: url = kwargs['url'] username = kwargs['username'] @@ -161,5 +161,5 @@ feed2tw.update() time.sleep(interval) -__version__ = '0.6.5' +__version__ = '0.6.6'