#!/usr/bin/env python3
-# Copyright (C) 2013 Intra2net AG
+# Copyright (C) 2013, 2014 Intra2net AG
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published
s = bytes(json.dumps(stat) + '\n', 'UTF-8')
crc = binascii.crc32(s, crc) & 0xffffffff
index_fd.write(s)
+ self.logger.debug("backup %s" % stat['path'])
- self.logger.debug("backup %s" % stat['path'])
s = bytes('{"type": "END-FILE-LIST"}\n', 'UTF-8')
crc = binascii.crc32(s, crc) & 0xffffffff
index_fd.write(s)