[Pkg-debile-commits] [debile-slave] 62/100: feh
Sylvestre Ledru
sylvestre at alioth.debian.org
Mon Aug 19 14:53:09 UTC 2013
This is an automated email from the git hooks/post-receive script.
sylvestre pushed a commit to branch master
in repository debile-slave.
commit b74e81b76cb1908871898a3d71464c5fabc4bd48
Author: Paul Tagliamonte <tag at pault.ag>
Date: Sat Jun 8 22:19:38 2013 -0400
feh
---
ethel/config.py | 5 ++++-
ethel/runners/piuparts.py | 5 ++++-
ethel/utils.py | 6 +++++-
3 files changed, 13 insertions(+), 3 deletions(-)
diff --git a/ethel/config.py b/ethel/config.py
index 1fac506..e89a09e 100644
--- a/ethel/config.py
+++ b/ethel/config.py
@@ -1,4 +1,7 @@
-import configparser
+try:
+ import configparser
+except ImportError:
+ import ConfigParser as configparser
CONFIG_BLOCK = "host"
diff --git a/ethel/runners/piuparts.py b/ethel/runners/piuparts.py
index fbdaa7d..4f701bb 100644
--- a/ethel/runners/piuparts.py
+++ b/ethel/runners/piuparts.py
@@ -5,7 +5,10 @@ from firehose.model import Issue, Message, File, Location
from schroot.chroot import SchrootCommandError
from schroot import schroot
-import configparser
+try:
+ import configparser
+except ImportError:
+ import ConfigParser as configparser
import sys
import os
diff --git a/ethel/utils.py b/ethel/utils.py
index 04f0333..e1e235f 100644
--- a/ethel/utils.py
+++ b/ethel/utils.py
@@ -2,13 +2,17 @@ from ethel.error import EthelError
from contextlib import contextmanager
from debian import deb822
-import configparser
import subprocess
import tempfile
import shutil
import shlex
import os
+try:
+ import configparser
+except ImportError:
+ import ConfigParser as configparser
+
@contextmanager
def tdir():
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-debile/debile-slave.git
More information about the Pkg-debile-commits
mailing list