/usr/share/pyshared/seascope/view/filecontext/plugins/generic_view/__init__.py is in seascope 0.8-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | # Copyright (c) 2010 Anil Kumar
# All rights reserved.
#
# License: BSD
import os
def name():
return 'generic_cmd'
def run_plugin(filename, parent, cmd=None):
import GenericView
GenericView.run(filename, parent, cmd=cmd)
def description():
d = 'generic cmd description'
return d
def cmd_name():
import GenericView
return GenericView.cmd_name()
priority = 100
|