فهرست منبع

[core] Backward compatibility for upgrades to Hue 2.2

Romain Rigaux 13 سال پیش
والد
کامیت
4259fc87eb
1فایلهای تغییر یافته به همراه5 افزوده شده و 0 حذف شده
  1. 5 0
      desktop/core/src/desktop/lib/django_util.py

+ 5 - 0
desktop/core/src/desktop/lib/django_util.py

@@ -46,6 +46,11 @@ MAKO = 'mako'
 USERNAME_RE_RULE = "[^-:\s][^:\s]*"
 GROUPNAME_RE_RULE = ".{,30}"
 
+
+# For backward compatibility for upgrades to Hue 2.2
+class PopupException: pass
+
+
 class Encoder(simplejson.JSONEncoder):
   """
   Automatically encodes JSON for Django models and