Fix impossible location condition
Closes
@@ -756,7 +756,8 @@ class AzureNodeDriver(NodeDriver):
:rtype: ``list``
"""
- if location is None and self.default_location:
+ if location is None:
+ if self.default_location:
location = self.default_location
else:
raise ValueError("location is required.")
