[Yum-devel] [PATCH 2/3] Tidy up the yum_save file, so it is easier to read.

James Antill james at and.org
Tue Jul 19 19:53:47 UTC 2011


---
 yum/__init__.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/yum/__init__.py b/yum/__init__.py
index 3f7f619..447cd8f 100644
--- a/yum/__init__.py
+++ b/yum/__init__.py
@@ -5241,7 +5241,7 @@ class YumBase(depsolve.Depsolve):
             raise Errors.YumBaseError(_("Dependencies not solved. Will not save unresolved transaction."))
         
         if not filename:
-            prefix = 'yum_save_tx-%s' % time.strftime('%Y-%m-%d-%H-%M')
+            prefix = 'yum_save_tx-%s' % time.strftime('%Y-%m-%d_%H-%M_')
             fd,filename = tempfile.mkstemp(suffix='.yumtx', prefix=prefix,
                                            dir=os.getenv('TMPDIR'))
             f = os.fdopen(fd, 'w')
-- 
1.7.5.4



More information about the Yum-devel mailing list