[virt-tools-list] [PATCH 4/9] Updated the snack import for startpool.py to be consistent.

Darryl L. Pierce dpierce at redhat.com
Fri Jul 22 15:32:07 UTC 2011


From: "Darryl L. Pierce" <dpierce at redhat.com>

---
 src/virtManagerTui/startpool.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/virtManagerTui/startpool.py b/src/virtManagerTui/startpool.py
index 03f66d4..ccd969a 100644
--- a/src/virtManagerTui/startpool.py
+++ b/src/virtManagerTui/startpool.py
@@ -18,7 +18,7 @@
 # MA  02110-1301, USA.  A copy of the GNU General Public License is
 # also available at http://www.gnu.org/copyleft/gpl.html.
 
-import snack
+from snack import Label
 from storagelistconfigscreen import StorageListConfigScreen
 
 LIST_POOLS_PAGE    = 1
@@ -59,7 +59,7 @@ class StartStoragePoolConfigScreen(StorageListConfigScreen):
 
     def get_final_page(self, screen):
         ignore = screen
-        return [snack.Label("Storage pool started: %s" % self.get_selected_pool())]
+        return [Label("Storage pool started: %s" % self.get_selected_pool())]
 
 def StartStoragePool():
     screen = StartStoragePoolConfigScreen()
-- 
1.7.6




More information about the virt-tools-list mailing list