/usr/share/pyshared/SCRIBES/UniqueStampGenerator.py is in scribes 0.4~r543-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 | class Generator(object):
def __init__(self, editor):
editor.response()
self.__generate_stamp(editor)
self.__destroy()
editor.response()
def __generate_stamp(self, editor):
from time import strftime
editor.set_data("uniquestamp", strftime("%Y-%m-%d %H:%M:%S"))
return
def __destroy(self):
del self
self = None
return
|