Re: Branch 'rhel6-branch' - isys/isys.py network.py vnc.py

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 06/29/2010 01:05 PM, Chris Lumens wrote:
>> @@ -509,8 +510,11 @@ def isWireless(dev):
>>      else:
>>          return False
>>  
>> -# Get the IP address for a network device.
>> -def getIPAddress(dev):
>> +# Get IP addresses for a network device.
>> +# Returns list of ipv4 and ipv6 addresses.
>> +# With version=4 returns only ipv4 addresses,
>> +# with version=6 returns only ipv6 addresses.
>> +def getIPAddresses(dev, version=None):
>>      if dev == '' or dev is None:
>>         return None
>>  

Could we put comments like these into docstrings instead of comments?
Just in case I want to run doxygen on the code :)

- -- 
Brian C. Lane <bcl@xxxxxxxxxx>
Red Hat / Port Orchard, WA
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQEVAwUBTCuCHBF+jBaO/jp/AQLEQgf+I26ra3krODsTVvD/nn3pWS0phF3Vd1y4
tgxMqDaC+zgC24lewCUUkQrkdh2pZZNEhCt996aoobjSONes/YE4LnLGGbJV9zkF
GHAZFiuvUXhfDuCIbATn4hRm+j/zyhJnd8UVUo36Ase9j92uwEi64hj5RTcqe2KB
gNfmSm/B4VZKGVmo+rcDTQLU8Z5mqqIr3XraVN23msSa2k8JrTQRlwAwafsbeouL
6DoJn8lWszQbqL/EVxzh3NsoBQ7th0PXXYIJ3jWeJ5FFCUoOdYO7bpteEtFHfYf7
vEB87TJ2bN6P4qmeHiF51nuDQ1+oUxe7ZLbJc5yNxXvLQ2gkqD+orw==
=VQqa
-----END PGP SIGNATURE-----

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux