diff options
| author | Yaakov M. Nemoy <loupgaroublond@gmail.com> | 2008-12-29 23:11:55 -0500 |
|---|---|---|
| committer | Yaakov M. Nemoy <loupgaroublond@gmail.com> | 2008-12-29 23:11:55 -0500 |
| commit | 0cb6e545b308e79a5d4aa6c36b7366f2b0fc30fd (patch) | |
| tree | 8c30624c6191a3d7a138b8229ef829a8406b9aa0 /modules/profile.py | |
| parent | 3d02771f3e2376cd459e9a4d0edf2ff0c0f22b2c (diff) | |
| download | fedora-devshell-0cb6e545b308e79a5d4aa6c36b7366f2b0fc30fd.tar.gz fedora-devshell-0cb6e545b308e79a5d4aa6c36b7366f2b0fc30fd.tar.xz fedora-devshell-0cb6e545b308e79a5d4aa6c36b7366f2b0fc30fd.zip | |
Mass commit, i should be cleaner in the future.
Diffstat (limited to 'modules/profile.py')
| -rw-r--r-- | modules/profile.py | 11 |
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 |
