Revision 0304f0ec lib/bdev.py
b/lib/bdev.py | ||
---|---|---|
1 | 1 |
# |
2 | 2 |
# |
3 | 3 |
|
4 |
# Copyright (C) 2006, 2007, 2010, 2011 Google Inc. |
|
4 |
# Copyright (C) 2006, 2007, 2010, 2011, 2012 Google Inc.
|
|
5 | 5 |
# |
6 | 6 |
# This program is free software; you can redistribute it and/or modify |
7 | 7 |
# it under the terms of the GNU General Public License as published by |
... | ... | |
606 | 606 |
return False |
607 | 607 |
|
608 | 608 |
status, major, minor, pe_size, stripes = out |
609 |
if len(status) != 6:
|
|
610 |
logging.error("lvs lv_attr is not 6 characters (%s)", status) |
|
609 |
if len(status) < 6:
|
|
610 |
logging.error("lvs lv_attr is not at least 6 characters (%s)", status)
|
|
611 | 611 |
return False |
612 | 612 |
|
613 | 613 |
try: |
Also available in: Unified diff