From f223be8a781401fb22428712f25fe3531fe503be Mon Sep 17 00:00:00 2001
From: Bernie Innocenti <bernie@codewiz.org>
Date: Sun, 14 Dec 2008 22:07:21 -0500
Subject: [PATCH] Manual Python 3.0 fixups

We still have issues with binary vs unicode
---
 geekigeeki.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 mode change 100644 => 100755 geekigeeki.py

diff --git a/geekigeeki.py b/geekigeeki.py
old mode 100644
new mode 100755
index b85a3a2..a9aa019
--- a/geekigeeki.py
+++ b/geekigeeki.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3.0
 # -*- coding: utf-8 -*-
 #
 # Copyright 1999, 2000 Martin Pool <mbp@humbug.org.au>
@@ -547,7 +547,7 @@ class WikiFormatter:
         indent_re = re.compile(r"^\s*")
         tr_re = re.compile(r"^\s*\|\|")
         eol_re = re.compile(r"\r?\n")
-        for self.line in eol_re.split(self.raw.expandtabs()):
+        for self.line in eol_re.split(str(self.raw).expandtabs()):
             # Skip ACLs
             if self.in_header:
                 if self.line.startswith('#'):
-- 
2.25.1