]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-deploy.git/commitdiff
distro is important object that shoudl not be overwritern with a string
authorOwen Synge <osynge@suse.com>
Thu, 24 Apr 2014 14:26:04 +0000 (16:26 +0200)
committerOwen Synge <osynge@suse.com>
Thu, 24 Apr 2014 14:26:04 +0000 (16:26 +0200)
ceph_deploy/hosts/suse/install.py

index c04ca216323a11004cf7e4b750433448526731ad..1774985d11c3c18cc2c28697fdd095f9f2bc44bc 100644 (file)
@@ -12,9 +12,9 @@ def install(distro, version_kind, version, adjust_repos):
         key = 'autobuild'
 
     if distro.codename == 'Mantis':
-        distro = 'opensuse12'
+        distro_name = 'opensuse12'
     else:
-        distro = 'sles-11sp2'
+        distro_name = 'sles-11sp2'
 
     if adjust_repos:
         process.run(