[Pkg-debile-commits] [debile-slave] 51/100: --> python-schroot

Sylvestre Ledru sylvestre at alioth.debian.org
Mon Aug 19 14:53:07 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 53a136a8052a926a5c7add8cb26a3384818e5922
Author: Paul Tagliamonte <tag at pault.ag>
Date:   Thu May 30 22:27:38 2013 -0400

    --> python-schroot
---
 ethel/chroot.py |   28 ----------------------------
 1 file changed, 28 deletions(-)

diff --git a/ethel/chroot.py b/ethel/chroot.py
deleted file mode 100644
index 0c8571c..0000000
--- a/ethel/chroot.py
+++ /dev/null
@@ -1,28 +0,0 @@
-import configparser
-
-
-def get_session_file(session):
-    return '/var/lib/schroot/session/%s' % (session)
-
-
-def get_session(session):
-    cfg = configparser.ConfigParser()
-    fil = get_session_file(session)
-    if cfg.read(fil) == []:
-        raise KeyError("No such session: `%s' - %s" % (session, fil))
-    return cfg
-
-
-def get_mount_point(session):
-    cfg = get_session(session)
-    obj = cfg[session]
-    return obj['mount-location']
-
-
-def get_tarball(chroot):
-    cfg = configparser.ConfigParser()
-    fil = '/etc/schroot/chroot.d/%s' % (chroot)
-    if cfg.read(fil) == []:
-        raise KeyError("No such session: `%s' - %s" % (session, fil))
-    obj = cfg[chroot]
-    return obj['file']

-- 
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