these should have been removed along with the update

from dennis suhonin
This commit is contained in:
jolan 2006-06-03 03:05:41 +00:00
parent c150c3f7ba
commit 1502efabff
4 changed files with 0 additions and 74 deletions

View File

@ -1,15 +0,0 @@
$OpenBSD: patch-src_common_logger_py,v 1.1.1.1 2005/10/20 04:20:28 jolan Exp $
--- src/common/logger.py.orig Tue Sep 6 12:30:14 2005
+++ src/common/logger.py Wed Oct 19 01:37:07 2005
@@ -36,7 +36,10 @@ if os.name == 'nt':
# win9x, ./logs
LOGPATH = 'Logs'
-LOGPATH = LOGPATH.decode(sys.getfilesystemencoding())
+try:
+ LOGPATH = LOGPATH.decode(sys.getfilesystemencoding())
+except:
+ pass
class Logger:
def __init__(self):

View File

@ -1,17 +0,0 @@
$OpenBSD: patch-src_common_optparser_py,v 1.1.1.1 2005/10/20 04:20:28 jolan Exp $
--- src/common/optparser.py.orig Wed Oct 19 01:25:36 2005
+++ src/common/optparser.py Wed Oct 19 01:25:44 2005
@@ -86,8 +86,11 @@ class OptionsParser:
def write(self):
(base_dir, filename) = os.path.split(self.__filename)
- base_dir = base_dir.decode(sys.getfilesystemencoding())
- filename = filename.decode(sys.getfilesystemencoding())
+ try:
+ base_dir = base_dir.decode(sys.getfilesystemencoding())
+ filename = filename.decode(sys.getfilesystemencoding())
+ except:
+ pass
self.__tempfile = os.path.join(base_dir, '.' + filename)
try:
fd = open(self.__tempfile, 'w')

View File

@ -1,27 +0,0 @@
$OpenBSD: patch-src_config_py,v 1.1.1.1 2005/10/20 04:20:28 jolan Exp $
--- src/config.py.orig Wed Oct 19 01:26:35 2005
+++ src/config.py Wed Oct 19 01:27:06 2005
@@ -1021,7 +1021,10 @@ class PreferencesWindow:
if response != gtk.RESPONSE_OK:
break
file = dialog.get_filename()
- file = file.decode(sys.getfilesystemencoding())
+ try:
+ file = file.decode(sys.getfilesystemencoding())
+ except:
+ pass
if os.path.exists(file):
break
dialog.destroy()
@@ -2004,7 +2007,10 @@ class ManageEmoticonsWindow:
response = dialog.run()
if response == gtk.RESPONSE_OK:
file = dialog.get_filename()
- file = file.decode(sys.getfilesystemencoding())
+ try:
+ file = file.decode(sys.getfilesystemencoding())
+ except:
+ pass
if self.image_is_ok(file):
ok = True
else:

View File

@ -1,15 +0,0 @@
$OpenBSD: patch-src_vcard_py,v 1.1.1.1 2005/10/20 04:20:28 jolan Exp $
--- src/vcard.py.orig Wed Oct 19 01:27:17 2005
+++ src/vcard.py Wed Oct 19 01:27:32 2005
@@ -165,7 +165,10 @@ class VcardWindow:
response = dialog.run()
if response == gtk.RESPONSE_OK:
f = dialog.get_filename()
- f = f.decode(sys.getfilesystemencoding())
+ try:
+ f = f.decode(sys.getfilesystemencoding())
+ except:
+ pass
if self.image_is_ok(f):
ok = True
else: