Package: rubber
Version: 0.99.8-1
Followup-For: Bug #242202
The documentation for dep_file describes the problem. It is not right
first to check if the file can be converted and if no conversion is
found to check for the file itself. It should be the other way around
because this way is everything converted to png.
def dep_file (base, suffixes, prefixes, env, loc={}):
"""
Search the given path list (prefix list, more precisely) for a file with
the given basename and one of the given suffixes. If some transformation
can be applied from an existing file that may not be generated,
then a dependency tree is returned for this tranformation. If no
transformation is found but an appropriate file is found, a dependency
node for this file (as a leaf) is returned. If all fails, return None.
"""
targets = []
for p in prefixes:
for s in suffixes:
target = p + base + s
dep = convert(target, env)
if dep:
dep.loc = loc
return dep
if exists(target):
return DependLeaf([target], env.msg, loc)
return None
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11-1-686
Locale: LANG=cs_CZ, LC_CTYPE=cs_CZ (charmap=ISO-8859-2)
Versions of packages rubber depends on:
ii python 2.3.5-2 An interactive high-level object-o
ii tetex-bin 2.0.2-30 The teTeX binary files
rubber recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]