git://git.onelab.eu
/
nodemanager.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
blind and brutal 2to3
[nodemanager.git]
/
plugins
/
syndicate.py
diff --git
a/plugins/syndicate.py
b/plugins/syndicate.py
index
e8ddccd
..
4a9d4de
100644
(file)
--- a/
plugins/syndicate.py
+++ b/
plugins/syndicate.py
@@
-2,7
+2,7
@@
""" Syndicate configurator. """
""" Syndicate configurator. """
-import http
lib
+import http
.client
import os
import shutil
import tools
import os
import shutil
import tools
@@
-21,7
+21,7
@@
def syndicate_op(op, mountpoint, syndicate_ip):
logger.log("Syndicate: Http op %s on url %s to host %s" % (op, mountpoint, syndicate_ip))
try:
logger.log("Syndicate: Http op %s on url %s to host %s" % (op, mountpoint, syndicate_ip))
try:
- conn = http
lib
.HTTPSConnection(syndicate_ip, timeout=60)
+ conn = http
.client
.HTTPSConnection(syndicate_ip, timeout=60)
conn.request(op, mountpoint)
r1 = conn.getresponse()
except:
conn.request(op, mountpoint)
r1 = conn.getresponse()
except: