[virt-tools-list] [PATCH 5/9] Updated the snack import for stoppool.py to be consistent.
Darryl L. Pierce
dpierce at redhat.com
Fri Jul 22 15:32:08 UTC 2011
From: "Darryl L. Pierce" <dpierce at redhat.com>
---
src/virtManagerTui/stoppool.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/virtManagerTui/stoppool.py b/src/virtManagerTui/stoppool.py
index e07b2eb..d9277fa 100644
--- a/src/virtManagerTui/stoppool.py
+++ b/src/virtManagerTui/stoppool.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 StopStoragePoolConfigScreen(StorageListConfigScreen):
def get_final_page(self, screen):
ignore = screen
- return [snack.Label("Storage pool stopped: %s" % self.get_selected_pool())]
+ return [Label("Storage pool stopped: %s" % self.get_selected_pool())]
def StopStoragePool():
screen = StopStoragePoolConfigScreen()
--
1.7.6
More information about the virt-tools-list
mailing list