Browse Source

storage: minor error handling fix

Marek Marczykowski-Górecki 7 years ago
parent
commit
d7af67d875
1 changed files with 1 additions and 1 deletions
  1. 1 1
      qubes/storage/__init__.py

+ 1 - 1
qubes/storage/__init__.py

@@ -215,7 +215,7 @@ class Storage(object):
 
     def init_volume(self, name, volume_config):
         ''' Initialize Volume instance attached to this domain '''
-        assert 'pool' in volume_config, "Pool missing in volume_config" % str(
+        assert 'pool' in volume_config, "Pool missing in volume_config " + str(
             volume_config)
 
         if 'name' not in volume_config: