summaryrefslogtreecommitdiffstats
path: root/tools/export.py
diff options
context:
space:
mode:
authorSol Jerome <sol.jerome@gmail.com>2011-04-26 10:14:43 -0500
committerSol Jerome <sol.jerome@gmail.com>2011-04-26 10:19:52 -0500
commit7ed0493ee4af4ca14bb7642a29a66cd51f4d5836 (patch)
treed94042b8d8302da3d6989b720fe73cc9cd06e185 /tools/export.py
parente1c5dcea61d36c589b639e080a314c871b1b129f (diff)
downloadbcfg2-7ed0493ee4af4ca14bb7642a29a66cd51f4d5836.tar.gz
bcfg2-7ed0493ee4af4ca14bb7642a29a66cd51f4d5836.tar.bz2
bcfg2-7ed0493ee4af4ca14bb7642a29a66cd51f4d5836.zip
tools: Add full PY3K compatibility
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
Diffstat (limited to 'tools/export.py')
-rwxr-xr-xtools/export.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/export.py b/tools/export.py
index d32ad3a60..e28b8a6e0 100755
--- a/tools/export.py
+++ b/tools/export.py
@@ -4,11 +4,13 @@
First attempt to make our export script more portable than export.sh
"""
-from email.Utils import formatdate
import fileinput
from subprocess import Popen, PIPE
import sys
+# Compatibility import
+from py3kcompat import formatdate
+
pkgname = 'bcfg2'
ftphost = 'terra.mcs.anl.gov'
ftpdir = '/mcs/ftp/pub/bcfg'