xen-drbd
diff xen-drbd-install.py @ 24:ccf4137ea2a6
print instead of exec
author | igor |
---|---|
date | Tue Feb 19 18:27:29 2008 +0200 (2008-02-19) |
parents | 2ecda36e8d0d |
children | fc4025aa8287 |
line diff
1.1 --- a/xen-drbd-install.py Sun Feb 17 13:32:01 2008 +0200 1.2 +++ b/xen-drbd-install.py Tue Feb 19 18:27:29 2008 +0200 1.3 @@ -26,7 +26,7 @@ 1.4 network=sys.argv[1] 1.5 try: 1.6 exec 'from %s import * ' % (network) 1.7 -except: 1.8 +except ImportError: 1.9 print "Can't find or interpret module %s with topology description" %(network) 1.10 sys.exit(1) 1.11