summaryrefslogtreecommitdiffstats
path: root/modules/profile.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/profile.py')
-rw-r--r--modules/profile.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/modules/profile.py b/modules/profile.py
new file mode 100644
index 0000000..bac1553
--- /dev/null
+++ b/modules/profile.py
@@ -0,0 +1,11 @@
+from base.module import Module
+from base.exceptions import ExecutionException
+
+class Profile(Module):
+ def __init__(self, name=None, branch=None):
+ if branch:
+ pass
+ elif name:
+ pass
+ else:
+ raise ExecutionException('need a saved profile or a branch to lookup') \ No newline at end of file