From: Ian Jackson Date: Thu, 30 May 2019 10:25:23 +0000 (+0100) Subject: FishPond: Actually make fish be an instance object (in Servus) X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~matthewv/git?a=commitdiff_plain;h=a9697a39209a51ab6688857273882065fda9de31;p=irc.git FishPond: Actually make fish be an instance object (in Servus) OMG. No overall functional change. Signed-off-by: Ian Jackson --- diff --git a/Servus-chiark.py b/Servus-chiark.py index 45b19a4..f0be526 100755 --- a/Servus-chiark.py +++ b/Servus-chiark.py @@ -42,7 +42,7 @@ import commands as c # This fishpond is shared between trouts and flirts. It doesn't have to be; # you can define as many ponds as you like. -class fish (c.FishPond): +class Fish (c.FishPond): cur_fish=5 max_fish=5 nofish_time=60 @@ -50,6 +50,8 @@ class fish (c.FishPond): fish_inc=2 Boring_Git='Nobody' +fish = Fish() + # load the "blame" details for a file def loadblame(filename): p=subprocess.Popen(["git","blame","-s",filename],