summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxmo-odoo <xmo-odoo@users.noreply.github.com>2014-05-19 14:12:57 +0200
committerxmo-odoo <xmo-odoo@users.noreply.github.com>2014-05-19 14:12:57 +0200
commitbe77d7a128634b93ed0ba843e9c8fe3312715f9b (patch)
tree8fb609f3f84ac8a4e92af7d68603a1266c09b252
parent7d00167dbbdb776b760f9e91367d6994c4071787 (diff)
parent7d12d4aaa1403f5cfed1955a6c1a0af412abdb3a (diff)
Merge pull request #51 from katyukha/oe-fix-1
Fixed bug in 'oe' script when passing no arguments
-rwxr-xr-xoe2
1 files changed, 1 insertions, 1 deletions
diff --git a/oe b/oe
index 2da32cbe31d..03c037b735c 100755
--- a/oe
+++ b/oe
@@ -2,7 +2,7 @@
if __name__ == '__main__':
import sys
- if sys.argv[1] == 'run-tests':
+ if len(sys.argv) > 1 and sys.argv[1] == 'run-tests':
sys.exit(0)
import openerpcommand.main
openerpcommand.main.run()