summaryrefslogtreecommitdiff
path: root/rdiff-backup/rdiff-backup
blob: 3760ced568062d14593dab9c947a31df8876f567 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/usr/bin/env python
# rdiff-backup -- Mirror files while keeping incremental changes
# Version $version released $date
# Copyright (C) 2001-2005  Ben Escoto <rdiff-backup@emerose.org>
#
# This program is licensed under the GNU General Public License (GPL).
# 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA; either
# version 2 of the License, or (at your option) any later version.
# Distributions of rdiff-backup should include a copy of the GPL in a
# file called COPYING.  The GPL is also available online at
# http://www.gnu.org/copyleft/gpl.html.
#
# See http://rdiff-backup.nongnu.org/ for more information.  Please
# send mail to me or the mailing list if you find bugs or have any
# suggestions.

import sys
import rdiff_backup.Main

try:
	import msvcrt, os
	msvcrt.setmode(0, os.O_BINARY)
	msvcrt.setmode(1, os.O_BINARY)
except ImportError:
	pass

if __name__ == "__main__" and not globals().has_key('__no_execute__'):
	rdiff_backup.Main.error_check_Main(sys.argv[1:])