Skip to content
Browse files

Fixed some name errors.

  • Loading branch information...
1 parent f1214c9 commit 1fd87e8aec298b66f97dc83f38ec0d0f563d4274 @ericflo committed
Showing with 7 additions and 7 deletions.
  1. +7 −7 couch_lifestream/management/commands/
14 couch_lifestream/management/commands/
@@ -58,7 +58,7 @@ def callback(item):
parse_json(url, 'twitter', callback)
def fetch_pownce_items():
- url = '' % (POWNCE_USERNAME,)
+ url = '' % (un['POWNCE'],)
def callback(item):
y, month, d, h, m, s, wd, jd, ds = time.gmtime(item['timestamp'])
couch_lifestream_date = datetime.datetime(y, month, d, h, m, s)
@@ -94,16 +94,16 @@ class Command(NoArgsCommand):
help = 'Fetch the latest lifestream items and insert them into CouchDB.'
def handle_noargs(self, **options):
- if TWITTER_USERNAME is not None:
+ if un['TWITTER'] is not None:
- if POWNCE_USERNAME is not None:
+ if un['POWNCE'] is not None:
- if REDDIT_USERNAME is not None:
+ if un['REDDIT'] is not None:
- if FLICKR_USER_ID is not None:
+ if un['FLICKR'] is not None:
- if GITHUB_USERNAME is not None:
+ if un['GITHUB'] is not None:
- if DIGG_USERNAME is not None:
+ if un['DIGG'] is not None:
print "Finished loading lifestream items."

0 comments on commit 1fd87e8

Please sign in to comment.
Something went wrong with that request. Please try again.