mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-03-12 11:51:09 +00:00
Don't import "os" multiple times
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
This commit is contained in:
parent
66b7eca0f0
commit
a62534e8d0
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user