瀏覽代碼

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 年之前
父節點
當前提交
d81d6a9267
共有 1 個文件被更改,包括 1 次插入1 次删除
  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__)