File: hello_plugin.py

package info (click to toggle)
obnam 1.21-1
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 2,032 kB
  • ctags: 2,505
  • sloc: python: 14,404; sh: 410; ansic: 252; makefile: 66; awk: 5
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'