<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>57421</bug_id>
          
          <creation_ts>2004-07-17 15:28 0000</creation_ts>
          <short_desc>distcc-config fails to list hosts if $HOME/hosts is a directory</short_desc>
          <delta_ts>2004-08-27 04:04:39 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>stsp@binarchy.net</reporter>
          <assigned_to>pYrania@gentoo.org</assigned_to>
          <cc>lisa@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>stsp@binarchy.net</who>
            <bug_when>2004-07-17 15:28:27 0000</bug_when>
            <thetext>If $HOME/hosts is a directory, distcc-config --get-hosts prints the directory&apos;s name instead of the host list.

The script uses the function os.path.exists() to check whether the file
$HOME/hosts exists. Using os.path.isfile() instead fixes the issue.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>stsp@binarchy.net</who>
            <bug_when>2004-07-17 15:29:02 0000</bug_when>
            <thetext>Created an attachment (id=35654)
patch that solves the problem
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lisa@gentoo.org</who>
            <bug_when>2004-08-16 09:31:47 0000</bug_when>
            <thetext>Markus, can you take care of this?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>pYrania@gentoo.org</who>
            <bug_when>2004-08-27 04:04:39 0000</bug_when>
            <thetext>fixed.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>35654</attachid>
            <date>2004-07-17 15:29 0000</date>
            <desc>patch that solves the problem</desc>
            <filename>distcc-config-fix-hostlist.diff</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIGRpc3RjYy1jb25maWcub3JpZwkyMDA0LTA3LTE4IDAwOjE3OjM1Ljg3Njg4MDU0NCArMDIw
MAorKysgZGlzdGNjLWNvbmZpZwkyMDA0LTA3LTE4IDAwOjE5OjE3LjA1NjQ5ODkwNCArMDIwMApA
QCAtOTksNyArOTksNyBAQAogCUhPU1RTX0hPTUUgPSBvcy5lbnZpcm9uLmdldCgnSE9NRScpKycv
aG9zdHMnCiAJaWYgSE9TVFNfRU5WOgogCQlwcmludCBIT1NUU19FTlYKLQllbGlmIG9zLnBhdGgu
ZXhpc3RzKEhPU1RTX0hPTUUpIGFuZCBvcy5wYXRoLmdldHNpemUoSE9TVFNfSE9NRSkgIT0gMDoK
KwllbGlmIG9zLnBhdGguaXNmaWxlKEhPU1RTX0hPTUUpIGFuZCBvcy5wYXRoLmdldHNpemUoSE9T
VFNfSE9NRSkgIT0gMDoKIAkJcHJpbnQgSE9TVFNfSE9NRQogCWVsaWYgb3MucGF0aC5leGlzdHMo
Jy9ldGMvZGlzdGNjL2hvc3RzJyk6CiAJCXByaW50IHJzdHJpcChvcGVuKCcvZXRjL2Rpc3RjYy9o
b3N0cycsICdyJykucmVhZCgpKQo=
</data>        

          </attachment>
    </bug>

</bugzilla>