Permalink
Browse files

Running dbgp-phpsh.py without parameters throws exception

Summary:
operator precedence is off so you get an exception about types

dbgp-phpsh.py
  • Loading branch information...
1 parent 1bc1c01 commit 8c37afede7a9c51a81f4dc15fec423a3f9719db9 @scottmac scottmac committed Apr 15, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/dbgp-phpsh.py
View
@@ -864,7 +864,7 @@ def get_sockfd(self):
if len(sys.argv) < 5:
debug_log("dbgp called with %d arguments, 4 required, exiting..." %
- len(sys.argv)-1)
+ (len(sys.argv)-1))
sys.exit(1)
try:

0 comments on commit 8c37afe

Please sign in to comment.