Skip to content
Snippets Groups Projects
Commit c7780432 authored by Xavier ELATTAOUI's avatar Xavier ELATTAOUI
Browse files

Python3 migration done

parent 9ddc32aa
Branches
Tags
No related merge requests found
......@@ -236,11 +236,10 @@ def main():
U = PyTango.Util.instance()
U.server_init()
U.server_run()
except PyTango.DevFailed,e:
print '-------> Received a DevFailed exception:',e
except Exception,e:
print '-------> An unforeseen exception occured....',e
except PyTango.DevFailed as df:
print ('-------> Received a DevFailed exception:',df)
except Exception as e:
print ('-------> An unforeseen exception occured....',e)
if __name__ == '__main__':
main()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment