summaryrefslogtreecommitdiff
path: root/cxmanage_api/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'cxmanage_api/__init__.py')
-rw-r--r--cxmanage_api/__init__.py12
1 files changed, 9 insertions, 3 deletions
diff --git a/cxmanage_api/__init__.py b/cxmanage_api/__init__.py
index 2228b38..c676a78 100644
--- a/cxmanage_api/__init__.py
+++ b/cxmanage_api/__init__.py
@@ -1,4 +1,7 @@
-# Copyright (c) 2012, Calxeda Inc.
+"""Calxeda: __init__.py """
+
+
+# Copyright (c) 2012-2013, Calxeda Inc.
#
# All rights reserved.
#
@@ -35,6 +38,9 @@ import shutil
import tempfile
+__version__ = "0.10.2"
+
+
WORK_DIR = tempfile.mkdtemp(prefix="cxmanage_api-")
atexit.register(lambda: shutil.rmtree(WORK_DIR))
@@ -47,8 +53,8 @@ def temp_file():
:rtype: string
"""
- fd, filename = tempfile.mkstemp(dir=WORK_DIR)
- os.close(fd)
+ file_, filename = tempfile.mkstemp(dir=WORK_DIR)
+ os.close(file_)
return filename
def temp_dir():