[pkg-eucalyptus-commits] [euca2ools] 33/41: Make eustore-install-image replace . with _

Charles Plessy plessy at alioth.debian.org
Sat Oct 12 03:24:23 UTC 2013


This is an automated email from the git hooks/post-receive script.

plessy pushed a commit to branch master
in repository euca2ools.

commit d66f1993a9299de00f44ff4a81e83ca0dab4d0f3
Author: Garrett Holmstrom <gholms at fedoraproject.org>
Date:   Tue Sep 24 14:37:58 2013 -0700

    Make eustore-install-image replace . with _
    
    Fixes TOOLS-386
---
 euca2ools/commands/eustore/installimage.py |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/euca2ools/commands/eustore/installimage.py b/euca2ools/commands/eustore/installimage.py
index c238471..9d3e868 100644
--- a/euca2ools/commands/eustore/installimage.py
+++ b/euca2ools/commands/eustore/installimage.py
@@ -277,7 +277,8 @@ class InstallImage(EuStoreRequest, FileTransferProgressBarMixin):
         if self.args['show_progress']:
             print 'Preparing to extract image...'
         image_name = 'eustore-{0}'.format(
-            os.path.splitext(os.path.basename(tarball_filename))[0])
+            os.path.splitext(os.path.basename(tarball_filename))[0]
+            .replace('.', '_'))
         tarball = tarfile.open(tarball_filename, 'r:gz')
         try:
             members = tarball.getmembers()

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-eucalyptus/euca2ools.git



More information about the pkg-eucalyptus-commits mailing list