summaryrefslogtreecommitdiff
path: root/rdiff-backup/src/MiscStats.py
diff options
context:
space:
mode:
authorben <ben@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2002-06-19 09:56:00 +0000
committerben <ben@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2002-06-19 09:56:00 +0000
commitf1a097e8c9fe9f80b9aa476566c21c9edd1d4b65 (patch)
tree1284f9ccf2b9e882ebe96ff9838c97c48c680eb0 /rdiff-backup/src/MiscStats.py
parentf75dba2fa023f9e18b6e89dd8a826009571b6c41 (diff)
downloadrdiff-backup-f1a097e8c9fe9f80b9aa476566c21c9edd1d4b65.tar.gz
Added compile.py to compile the c portion
Added GPL headers to all the source code files Fixed memory leaks and bad pointer casts in cmodule.c git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@141 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup/src/MiscStats.py')
-rw-r--r--rdiff-backup/src/MiscStats.py14
1 files changed, 13 insertions, 1 deletions
diff --git a/rdiff-backup/src/MiscStats.py b/rdiff-backup/src/MiscStats.py
index cd62dd6..d1785a4 100644
--- a/rdiff-backup/src/MiscStats.py
+++ b/rdiff-backup/src/MiscStats.py
@@ -1,6 +1,18 @@
-from statistics import *
+# Copyright 2002 Ben Escoto
+#
+# This file is part of rdiff-backup.
+#
+# rdiff-backup is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, Inc., 675 Mass Ave, Cambridge MA
+# 02139, USA; either version 2 of the License, or (at your option) any
+# later version; incorporated herein by reference.
"""Misc statistics methods, pertaining to dir and session stat files"""
+
+from statistics import *
+
+
# This is the RPath of the directory statistics file, and the
# associated open file. It will hold a line of statistics for
# each directory that is backed up.