Skip to content

Commit

Permalink
Add missing set_file_attributes() method to base class.
Browse files Browse the repository at this point in the history
Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
  • Loading branch information
sduehr authored and Marco van Wieringen committed Feb 17, 2015
1 parent 4fdcca0 commit 20cc0f9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/plugins/filed/BareosFdPluginBaseclass.py
Expand Up @@ -235,6 +235,13 @@ def create_file(self, context, restorepkt):
restorepkt.create_status = bCFs['CF_EXTRACT']
return bRCs['bRC_OK']

def set_file_attributes(self, context, restorepkt):
bareosfd.DebugMessage(
context, 100,
"set_file_attributes() entry point in Python called with %s\n" %
(str(restorepkt)))
return bRCs['bRC_OK'];

def check_file(self, context, fname):
bareosfd.DebugMessage(
context, 100,
Expand Down

0 comments on commit 20cc0f9

Please sign in to comment.