Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def get_vtu_map_smi():
- # Open the Vlan Config File
- try:
- f = open('/tmp/vlan.config', 'r')
- except IOError as e:
- return "No Vlan Configuration Available: %s\n" % e
- str= f.read();
- str = str.strip() # Strip White Space Characters from start and End of Line
- smi = str.split('S')
- buildmaster@buildmaster:~/svn_main/klish-scripts$ python -tt tftp_server.py
- Traceback (most recent call last):
- File "tftp_server.py", line 11, in <module>
- import krtutils
- File "/home/buildmaster/svn_main/klish-scripts/krtutils.py", line 10, in <module>
- import hal
- File "/home/buildmaster/svn_main/klish-scripts/hal.py", line 233
- except IOError as e:
- ^
- SyntaxError: invalid syntax
Add Comment
Please, Sign In to add comment