projects
/
leap_pycommon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
146ee0f
)
add __all__ to init to ease imports
author
Kali Kaneko
<kali@leap.se>
Thu, 14 Mar 2013 01:04:55 +0000
(10:04 +0900)
committer
Kali Kaneko
<kali@leap.se>
Thu, 14 Mar 2013 01:04:55 +0000
(10:04 +0900)
src/leap/common/__init__.py
patch
|
blob
|
history
diff --git
a/src/leap/common/__init__.py
b/src/leap/common/__init__.py
index
a70a9a8
..
3459ffb
100644
(file)
--- a/
src/leap/common/__init__.py
+++ b/
src/leap/common/__init__.py
@@
-1,4
+1,9
@@
import logging
+
+from leap.common import certs
+from leap.common import check
+from leap.common import files
+
logger = logging.getLogger(__name__)
try:
@@
-7,3
+12,5
@@
try:
except ImportError:
logger.debug('PyGeoIP not found. Disabled Geo support.')
HAS_GEOIP = False
+
+__all__ = ["certs", "check", "files"]