Fixing lint issues

This commit is contained in:
Gareth J. Greenaway 2018-07-21 17:56:41 -07:00
parent 8f4d55666e
commit 534b13ac15
No known key found for this signature in database
GPG Key ID: 10B62F8A7CAD7A41

View File

@ -1,5 +1,10 @@
# -*- coding: utf-8 -*-
# Import python libs
from __future__ import absolute_import, with_statement, print_function, unicode_literals
import threading
class ClassProperty(property):
'''
Use a classmethod as a property
@ -17,7 +22,7 @@ class RequestContext(object):
Simply import this class into any module and access the current request handler by this
class's class method property 'current'. If it returns None, there's no active request.
.. code:: python
from salt.utils.ctx import RequestContext
from raas.utils.ctx import RequestContext
current_request_handler = RequestContext.current
'''