File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed
Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -15,25 +15,22 @@ def __repr__(self):
1515
1616class RefreshRequestEvent (curtsies .events .Event ):
1717 """Request to refresh REPL display ASAP"""
18- def __init__ (self , who = '?' ):
19- self .who = who
20-
2118 def __repr__ (self ):
22- return "<RefreshRequestEvent from %r for now>" % ( self . who ,)
19+ return "<RefreshRequestEvent for now>"
2320
2421
2522class ScheduledRefreshRequestEvent (curtsies .events .ScheduledEvent ):
2623 """Request to refresh the REPL display at some point in the future
2724
2825 Used to schedule the disappearance of status bar message that only shows
2926 for a few seconds"""
30- def __init__ (self , when , who = '?' ):
31- self .who = who
27+ def __init__ (self , when ):
3228 self .when = when # time.time() + how long
3329
3430 def __repr__ (self ):
35- return ("<RefreshRequestEvent from %r for %s seconds from now>" %
36- (self .who , self .when - time .time ()))
31+ return ("<RefreshRequestEvent for %s seconds from now>" %
32+ (self .when - time .time ()))
33+
3734
3835class RunStartupFileEvent (curtsies .events .Event ):
3936 """Request to run the startup file."""
You can’t perform that action at this time.
0 commit comments