Univention Bugzilla – Attachment 3967 Details for
Bug 25203
Syntax für MAC Adresse
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fixes calls of super class parse method
fix_super_class_invocation.patch (text/plain), 970 bytes, created by
Andreas Büsching
on 2011-12-06 09:13:45 CET
(
hide
)
Description:
fixes calls of super class parse method
Filename:
MIME Type:
Creator:
Andreas Büsching
Created:
2011-12-06 09:13:45 CET
Size:
970 bytes
patch
obsolete
>Index: modules/univention/admin/syntax.py >=================================================================== >--- modules/univention/admin/syntax.py (Revision 29732) >+++ modules/univention/admin/syntax.py (Arbeitskopie) >@@ -427,7 +427,7 @@ > def parse(self, text): > if isinstance( text, bool ): > return text and '1' or '0' >- return simple.parse( text ) >+ return super( boolean, self ).parse( text ) > > class filesize(simple): > """ >@@ -742,7 +742,7 @@ > if re.match("(^/%s$)|(^/%s/)" % (path, path), os.path.realpath(text)): > raise univention.admin.uexceptions.valueError, _('Path may not start with "%s" !') % path > >- return simple.parse( text ) >+ return super( sharePath, self ).parse( text ) > > class passwd(simple): > min_length=8 >@@ -1087,7 +1087,7 @@ > > @classmethod > def parse( self, text ): >- simple.parse( text ) >+ super( MAC_Address, self ).parse( text ) > return text.replace( '-', ':' ).lower() > > class DHCP_HardwareAddress( complex ):
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 25203
: 3967