diff options
| author | xmo-odoo <xmo-odoo@users.noreply.github.com> | 2014-05-19 14:12:57 +0200 |
|---|---|---|
| committer | xmo-odoo <xmo-odoo@users.noreply.github.com> | 2014-05-19 14:12:57 +0200 |
| commit | be77d7a128634b93ed0ba843e9c8fe3312715f9b (patch) | |
| tree | 8fb609f3f84ac8a4e92af7d68603a1266c09b252 | |
| parent | 7d00167dbbdb776b760f9e91367d6994c4071787 (diff) | |
| parent | 7d12d4aaa1403f5cfed1955a6c1a0af412abdb3a (diff) | |
Merge pull request #51 from katyukha/oe-fix-1
Fixed bug in 'oe' script when passing no arguments
| -rwxr-xr-x | oe | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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() |
