Permalink
Browse files

When unpropagating we should validate unpropagation, not propagation

  • Loading branch information...
1 parent 39be84c commit b0f88cb4eab81171a2444bc987180ada2b6c3e97 @priteau priteau committed Nov 5, 2010
@@ -700,7 +700,10 @@ def _one_imagestr_propagation(self, lf, imgstr, unprop):
self.c.log.debug("partition/HD is specified w/ %s" % schemestring)
adapter = self.adapters[keyword]
- adapter.validate_propagate_source(imgstr)
+ if unprop:
+ adapter.validate_unpropagate_target(imgstr)
+ else:
+ adapter.validate_propagate_source(imgstr)
if unprop:
lf._unpropagate_needed = True

0 comments on commit b0f88cb

Please sign in to comment.