summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Snapshots
diff options
context:
space:
mode:
authorSol Jerome <sol.jerome@gmail.com>2011-06-15 09:23:19 -0500
committerSol Jerome <sol.jerome@gmail.com>2011-06-15 09:23:19 -0500
commita1bc75c200fb9237ecc0dd5ccd5b8bf94214cf4b (patch)
treebfc7badc416666cfdd1824f31bb27cedd1623df7 /src/lib/Server/Snapshots
parentb1ab3e2bab9f07c13daf5dcfd4a9502eb84dcf0d (diff)
downloadbcfg2-a1bc75c200fb9237ecc0dd5ccd5b8bf94214cf4b.tar.gz
bcfg2-a1bc75c200fb9237ecc0dd5ccd5b8bf94214cf4b.tar.bz2
bcfg2-a1bc75c200fb9237ecc0dd5ccd5b8bf94214cf4b.zip
PY3K: Add compatibility comments
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
Diffstat (limited to 'src/lib/Server/Snapshots')
-rw-r--r--src/lib/Server/Snapshots/model.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/Server/Snapshots/model.py b/src/lib/Server/Snapshots/model.py
index 2aa35f1ec..f30c38a05 100644
--- a/src/lib/Server/Snapshots/model.py
+++ b/src/lib/Server/Snapshots/model.py
@@ -7,6 +7,7 @@ from sqlalchemy.orm import relation, backref
from sqlalchemy.ext.declarative import declarative_base
+# py3k compatibility
def u_str(string):
if sys.hexversion >= 0x03000000:
return string