Bug 467491
| Summary: | UnboundLocalError: local variable 'verr' referenced before assignment | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | James Laska <jlaska> |
| Component: | virt-manager | Assignee: | Daniel Berrangé <berrange> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | CC: | berrange, crobinso, hbrock, jturner |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2008-10-17 19:10:02 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 438944 | ||
|
Description
James Laska
2008-10-17 18:42:18 UTC
Perhaps just a variable not being initialized?
The following fix addresses the issue:
--- /usr/lib/python2.5/site-packages/virtinst/VirtualDisk.py 2008-10-17 14:44:29.000000000 -0400
+++ /tmp/fix.py 2008-10-17 14:44:25.000000000 -0400
@@ -303,6 +303,7 @@
def __check_if_path_managed(self):
vol = None
err = None
+ verr = None
pool = util.lookup_pool_by_path(self.conn,
os.path.dirname(self.path))
if pool:
*** This bug has been marked as a duplicate of bug 467228 *** |