Code tidyup after 2to3 conversion

Moved config parser into its own module
This commit is contained in:
sneakypete81 2013-05-15 18:51:25 +01:00
parent 0805f032fb
commit ba681cea89
14 changed files with 119 additions and 118 deletions

View file

@ -1,9 +1,10 @@
try:
import unittest2 as unittest
except ImportError:
import unittest
import os
import shutil
try:
import unittest2 as unittest # Python2.6
except ImportError:
import unittest
import openphoto
CONFIG_HOME_PATH = os.path.join("tests", "config")