Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

use getpass() for dealing with passwords

  • Loading branch information...
commit f94173255ebb2a0fb897cac1a621f246687c6941 1 parent 941d0f6
@harrisony harrisony authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  tests/test_foursquare.py
View
3  tests/test_foursquare.py
@@ -1,5 +1,6 @@
import unittest
import time
+from getpass import getpass
import foursquare
@@ -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()
Please sign in to comment.
Something went wrong with that request. Please try again.