Add mediagoblin._compat module.
authorBerker Peksag <berker.peksag@gmail.com>
Fri, 7 Mar 2014 13:20:16 +0000 (15:20 +0200)
committerBerker Peksag <berker.peksag@gmail.com>
Thu, 8 May 2014 17:33:14 +0000 (20:33 +0300)
mediagoblin/_compat.py [new file with mode: 0644]

diff --git a/mediagoblin/_compat.py b/mediagoblin/_compat.py
new file mode 100644 (file)
index 0000000..bbd91c3
--- /dev/null
@@ -0,0 +1,3 @@
+import sys
+
+PY3 = sys.version_info[0] >= 3