mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-30 14:14:37 +01:00
Fixed Debian to use fix functions appropriately :)
This commit is contained in:
parent
d1bc7d462a
commit
10651494f5
@ -46,7 +46,6 @@ import os.path
|
||||
import urllib2
|
||||
from itertools import imap, ifilter
|
||||
|
||||
import fix
|
||||
import conf
|
||||
import utils
|
||||
import privmsgs
|
||||
@ -256,7 +255,7 @@ class Debian(callbacks.Privmsg, plugins.PeriodicFileDownloader):
|
||||
if m:
|
||||
name = m.group(1)
|
||||
if all(lambda p: p(name), predicates):
|
||||
realname = fix.rsplit(name, '_', 1)[0]
|
||||
realname = rsplit(name, '_', 1)[0]
|
||||
packages.append(realname)
|
||||
if len(packages) == 0:
|
||||
irc.error(msg, 'No packages matched that search.')
|
||||
|
Loading…
Reference in New Issue
Block a user