Univention Bugzilla – Attachment 3267 Details for
Bug 22427
Die Auswertung von @!@ ist zu gierig
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix recursive template evaluation
22427_ucr_template_recursion.diff (text/plain), 651 bytes, created by
Philipp Hahn
on 2011-05-13 10:48:09 CEST
(
hide
)
Description:
Fix recursive template evaluation
Filename:
MIME Type:
Creator:
Philipp Hahn
Created:
2011-05-13 10:48:09 CEST
Size:
651 bytes
patch
obsolete
>Bug #22427: Fix recursive template evaluation >--- python/univention/config_registry.py (Revision 24117) >+++ python/univention/config_registry.py (Arbeitskopie) >@@ -353,9 +353,9 @@ > except StopIteration: > break > >- while 1: >- i = execute_token.finditer(template) >- try: >+ i = execute_token.finditer(template) >+ try: >+ while True: > start = i.next() > end = i.next() > >@@ -372,10 +372,9 @@ > value=child_stdout.read() > child_stdout.close() > template = template[:start.start()]+value+template[end.end():] >+ except StopIteration: >+ pass > >- except StopIteration: >- break >- > return template > > def runScript(script, arg, changes):
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 22427
: 3267