File: hello_plugin.py

package info (click to toggle)
obnam 1.8-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,444 kB
  • ctags: 1,872
  • sloc: python: 11,333; sh: 409; ansic: 234; makefile: 50
file content (11 lines) | stat: -rw-r--r-- 196 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
import pluginmgr

class Hello(pluginmgr.Plugin):

    def __init__(self, foo, bar=None):
        self.foo = foo
        self.bar = bar

    @property
    def version(self):
        return '0.0.1'