Skip to content

Commit

Permalink
use getpass() for dealing with passwords
Browse files Browse the repository at this point in the history
  • Loading branch information
harrisony committed Dec 8, 2009
1 parent 941d0f6 commit f941732
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_foursquare.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import unittest
import time
from getpass import getpass

import foursquare

Expand Down Expand Up @@ -103,6 +104,6 @@ def find_if(objs, pred):

if __name__ == '__main__':
username = raw_input('Enter your foursquare username: ')
password = raw_input('Enter your foursquare password: ')
password = getpass('Enter your foursquare password: ')
unittest.main()

0 comments on commit f941732

Please sign in to comment.