Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Ubuntu Education (http://www.linux-archive.org/ubuntu-education/)
-   -   Fix missing CalledProcessError import (http://www.linux-archive.org/ubuntu-education/632504-fix-missing-calledprocesserror-import.html)

"Brian C. Lane" 02-13-2012 07:07 PM

Fix missing CalledProcessError import
 
From: "Brian C. Lane" <bcl@redhat.com>

---
src/pylorax/ltmpl.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/pylorax/ltmpl.py b/src/pylorax/ltmpl.py
index cce7c04..9008f97 100644
--- a/src/pylorax/ltmpl.py
+++ b/src/pylorax/ltmpl.py
@@ -25,7 +25,7 @@ logger = logging.getLogger("pylorax.ltmpl")

import os, re, glob, shlex, fnmatch
from os.path import basename, isdir
-from subprocess import check_call, check_output
+from subprocess import check_call, check_output, CalledProcessError

from sysutils import joinpaths, cpfile, mvfile, replace, remove
from yumhelper import * # Lorax*Callback classes
--
1.7.7.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


All times are GMT. The time now is 12:51 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.