mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 00:55:19 +00:00
Fixing lint issues
This commit is contained in:
parent
8f4d55666e
commit
534b13ac15
@ -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
|
||||
'''
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user