summaryrefslogtreecommitdiffstats
path: root/Mac/Demo/waste/htmled.py
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1998-04-15 14:35:16 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1998-04-15 14:35:16 (GMT)
commitb8fd1f18abb43cd2da6c410bb2925e7a3aa7d24b (patch)
treea5cac42c78fe79934cb11b14c789245409cd0c75 /Mac/Demo/waste/htmled.py
parentc84cb9511b110a4c66d909cda18274f0e0a911d4 (diff)
downloadcpython-b8fd1f18abb43cd2da6c410bb2925e7a3aa7d24b.zip
cpython-b8fd1f18abb43cd2da6c410bb2925e7a3aa7d24b.tar.gz
cpython-b8fd1f18abb43cd2da6c410bb2925e7a3aa7d24b.tar.bz2
Tabnanny fixes
Diffstat (limited to 'Mac/Demo/waste/htmled.py')
-rw-r--r--Mac/Demo/waste/htmled.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/Mac/Demo/waste/htmled.py b/Mac/Demo/waste/htmled.py
index 5750f9d..5aa0207 100644
--- a/Mac/Demo/waste/htmled.py
+++ b/Mac/Demo/waste/htmled.py
@@ -790,15 +790,15 @@ class Wed(Application):
class MyHTMLParser(htmllib.HTMLParser):
def anchor_bgn(self, href, name, type):
- self.anchor = href
- if self.anchor:
- self.anchorlist.append(href)
- self.formatter.push_style('anchor')
+ self.anchor = href
+ if self.anchor:
+ self.anchorlist.append(href)
+ self.formatter.push_style('anchor')
def anchor_end(self):
- if self.anchor:
- self.anchor = None
- self.formatter.pop_style()
+ if self.anchor:
+ self.anchor = None
+ self.formatter.pop_style()
def getfontnames():