FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo Development

 
 
LinkBack Thread Tools
 
Old 03-09-2012, 06:49 PM
Will Woods
 
Default fix TypeError in network.py with ipv6 static addresses

Format string for --ipv6 was missing '%s'.

Interestingly this bug has been present for nearly 5 years, which tells
me that nobody actually uses static ipv6 addresses.
---
pykickstart/commands/network.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/pykickstart/commands/network.py b/pykickstart/commands/network.py
index 9b67f92..b313703 100644
--- a/pykickstart/commands/network.py
+++ b/pykickstart/commands/network.py
@@ -136,7 +136,7 @@ class F8_NetworkData(FC6_NetworkData):
retval = FC6_NetworkData._getArgsAsStr(self)

if self.ipv6 != "":
- retval += " --ipv6" % self.ipv6
+ retval += " --ipv6=%s" % self.ipv6

return retval

--
1.7.7.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 03-09-2012, 06:52 PM
Chris Lumens
 
Default fix TypeError in network.py with ipv6 static addresses

> Format string for --ipv6 was missing '%s'.
>
> Interestingly this bug has been present for nearly 5 years, which tells
> me that nobody actually uses static ipv6 addresses.

This further tells me that test cases work, and I should add one for
networking. Push it.

- Chris

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

Thread Tools




All times are GMT. The time now is 08:48 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org