projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93d75d7
)
tweepyshell: bugfix: sys.argv -> args
author
Bas Westerbaan
<bas@fsfe.org>
Wed, 16 Dec 2009 17:38:33 +0000
(
01:38
+0800)
committer
Joshua Roesslein
<jroesslein@gmail.com>
Thu, 17 Dec 2009 05:47:03 +0000
(13:47 +0800)
Signed-off-by: Bas Westerbaan <bas@fsfe.org>
tweepyshell
patch
|
blob
|
blame
|
history
diff --git
a/tweepyshell
b/tweepyshell
index 6062a79c717a3bfaa08259da124fc23f7c4cb78d..eefb85aa2c910e721c35fce942ea23d9aa2cc0b9 100755
(executable)
--- a/
tweepyshell
+++ b/
tweepyshell
@@
-24,9
+24,9
@@
opt.add_option('-d', '--debug',
options, args = opt.parse_args()
if len(args) == 1:
- auth = BasicAuthHandler(
sys.argv[1
], getpass())
+ auth = BasicAuthHandler(
args[0
], getpass())
elif len(args) == 2:
- auth = BasicAuthHandler(
sys.argv[1], sys.argv[2
])
+ auth = BasicAuthHandler(
args[0], args[1
])
else:
auth = None