Commits

Zhang Huangbin committed 34ebca1

Code cleanup.

  • Participants
  • Parent commits a4b0d75

Comments (0)

Files changed (1)

File src/plugins/sql_alias_access_policy.py

     logger.debug('(%s) members: %s' % (PLUGIN_NAME, ', '.join(members)))
     logger.debug('(%s) moderators: %s' % (PLUGIN_NAME, ', '.join(moderators)))
 
+    if not len(policy) > 0:
+        return 'DUNNO No access policy defined.'
+
     if policy == POLICY_PUBLIC:
         # Return if no access policy available or policy is @POLICY_PUBLIC.
         return 'DUNNO'