summaryrefslogtreecommitdiff
path: root/obnam
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2009-11-09 20:44:45 +0200
committerLars Wirzenius <liw@liw.fi>2009-11-09 20:44:45 +0200
commit0461b6d6ebe0ab4346283e4f65aac48bd5523b97 (patch)
tree72686b0d518bced8fbda0c7a7b7d42240909b153 /obnam
parent9df85402b3ad7567477323d3ceb117ac547236d9 (diff)
downloadobnam-0461b6d6ebe0ab4346283e4f65aac48bd5523b97.tar.gz
Delete everything, start over from scratch, again.
Diffstat (limited to 'obnam')
-rwxr-xr-xobnam38
1 files changed, 0 insertions, 38 deletions
diff --git a/obnam b/obnam
deleted file mode 100755
index f41ad9d2..00000000
--- a/obnam
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/usr/bin/python
-# Copyright (C) 2008 Lars Wirzenius <liw@liw.fi>
-#
-# This program 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; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-
-
-import logging
-import os
-import sys
-import traceback
-
-import obnamlib
-
-
-if "OBNAM_PROFILE" in os.environ:
- import cProfile
- cProfile.run('obnamlib.BackupApplication().run()',
- os.environ["OBNAM_PROFILE"])
-else:
- try:
- obnamlib.BackupApplication().run()
- except Exception, e:
- logging.debug(traceback.format_exc())
- logging.error(str(e) or repr(e))
- sys.stdout.write("ERROR: %s\n" % (str(e) or repr(e)))
- sys.exit(1)