Don't import "os" multiple times

Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
This commit is contained in:
Adam D. Barratt 2012-04-11 21:31:00 +00:00
parent 66b7eca0f0
commit a62534e8d0

View File

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