##// END OF EJS Templates
Bug fixed in jrodata: Error working with more than one branch. When a value is updated in a branch this value is modified in every other branch because variables are references.
Bug fixed in jrodata: Error working with more than one branch. When a value is updated in a branch this value is modified in every other branch because variables are references.

File last commit:

r583:e5ed8fbe1d1e
r757:c5bcb39af329
Show More
tools.py
14 lines | 410 B | text/x-python | PythonLexer
import os, sys
def get_path ():
"""Borrowed from wxglade.py"""
try:
root = __file__
if os.path.islink (root):
root = os.path.realpath (root)
return os.path.dirname (os.path.abspath (root))
except:
print "I'm sorry, but something is wrong."
print "There is no __file__ variable. Please contact the author."
return ""