Răsfoiți Sursa

qubes module: Typo fix

This commit fixes a typo, where the exception type DontSave was used,
even though the name of the function dontsave was intended.
M. Vefa Bicakci 4 ani în urmă
părinte
comite
d81d6a9267
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      qubes/__init__.py

+ 1 - 1
qubes/__init__.py

@@ -429,7 +429,7 @@ def stateless_property(func):
     exposed through management API (including qvm-prefs etc)'''
     return property(func.__name__,
         setter=property.forbidden,
-        saver=property.DontSave,
+        saver=property.dontsave,
         default=func,
         doc=func.__doc__)