projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5129fc
)
Fix error on url scheme for odoo deploy
author
Fabien Meghazi
<fme@openerp.com>
Tue, 3 Jun 2014 22:45:28 +0000
(
00:45
+0200)
committer
Fabien Meghazi
<fme@openerp.com>
Tue, 3 Jun 2014 22:58:23 +0000
(
00:58
+0200)
openerp/cli/deploy.py
patch
|
blob
|
history
diff --git
a/openerp/cli/deploy.py
b/openerp/cli/deploy.py
index
accbef8
..
458cd18
100644
(file)
--- a/
openerp/cli/deploy.py
+++ b/
openerp/cli/deploy.py
@@
-84,7
+84,7
@@
class Deploy(Command):
self.session.verify = False
try:
- if not args.url.startswith('http://'):
+ if not args.url.startswith(('http://', 'https://')):
args.url = 'https://%s' % args.url
result = self.deploy_module(args.path, args.url, args.login, args.password, args.db)
print(result)