From 5720012b3bd4696ea378d9cf63b3ec68a59d10d9 Mon Sep 17 00:00:00 2001 From: Worros Date: Mon, 21 Jun 2010 18:44:38 +0800 Subject: [PATCH] Actually remove fpdb.py --- pyfpdb/fpdb.py | 34 ---------------------------------- 1 file changed, 34 deletions(-) delete mode 100755 pyfpdb/fpdb.py diff --git a/pyfpdb/fpdb.py b/pyfpdb/fpdb.py deleted file mode 100755 index 806bef9c..00000000 --- a/pyfpdb/fpdb.py +++ /dev/null @@ -1,34 +0,0 @@ -#!/usr/bin/python - -#Copyright 2008 Steffen Jobbagy-Felso -#This program is free software: you can redistribute it and/or modify -#it under the terms of the GNU Affero General Public License as published by -#the Free Software Foundation, version 3 of the License. -# -#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 Affero General Public License -#along with this program. If not, see . -#In the "official" distribution you can find the license in -#agpl-3.0.txt in the docs folder of the package. - - -# Users should run fpdb.pyw now, this is included in case they still try to run fpdb.py - - -import os -import sys - - -#print "fpdb.py has now been renamed to fpdb.pyw - calling fpdb.pyw ...\n" -sys.stdout.write('fpdb.py has been renamed to fpdb.pyw - now calling fpdb.pyw ...\n\n') -sys.stdout.flush() - -if os.name=='nt': - os.execvpe('pythonw.exe', list(('pythonw.exe', 'fpdb.pyw', '-r'))+sys.argv[1:], os.environ) -else: - os.execvpe('python', list(('python', 'fpdb.pyw', '-r'))+sys.argv[1:], os.environ) -# first arg is ignored (name of program being run)