Sfoglia il codice sorgente

Fixing last pylint error

Russell Harrison 9 anni fa
parent
commit
d11b162f24
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 3 0
      roles/lib_dyn/library/dyn_record.py

+ 3 - 0
roles/lib_dyn/library/dyn_record.py

@@ -182,6 +182,9 @@ def main():
 
     # Start the Dyn session
     try:
+        # dyn_session is needed to access the other objects but rarely gets
+        # used on its own.
+        #pylint: disable=unused-variable
         dyn_session = DynectSession(module.params['customer_name'],
                                     module.params['user_name'],
                                     module.params['user_password'])