Don't import "os" multiple times

Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
debian
Adam D. Barratt 13 years ago
parent bff12b1883
commit ef78fb34b2

@ -196,7 +196,6 @@ from operator import attrgetter
if __name__ == '__main__': if __name__ == '__main__':
# Check if there is a python-search dir for this version of # Check if there is a python-search dir for this version of
# python. If so, use the britney module for that. # python. If so, use the britney module for that.
import os
mdir = os.path.dirname(sys.argv[0]) mdir = os.path.dirname(sys.argv[0])
if sys.version_info[0] == 3: if sys.version_info[0] == 3:
python_dir = "python3" python_dir = "python3"

Loading…
Cancel
Save