Univention Bugzilla – Attachment 2183 Details for
Bug 16454
00_ucs_temporary_installation.list wird im postup.sh entfernt
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Test-Skript für list-Änderung
16454_sys.py (text/plain), 795 bytes, created by
Philipp Hahn
on 2010-01-04 15:09:26 CET
(
hide
)
Description:
Test-Skript für list-Änderung
Filename:
MIME Type:
Creator:
Philipp Hahn
Created:
2010-01-04 15:09:26 CET
Size:
795 bytes
patch
obsolete
>#!/usr/bin/python2.4 >import sys > >def test1(updateto, clean): > callupdateto=[sys.argv[0], 'local', '--updateto', updateto] > calllocal=[sys.argv[0], 'local'] > if not clean: > callupdateto.append('--no-clean') > calllocal.append('--no-clean') > if updateto: > return (sys.argv[0], callupdateto) > else: > return (sys.argv[0], calllocal) > >def test2(updateto, clean): > calllocal = [sys.argv[0], 'local'] > if updateto: > calllocal += ['--updateto', updateto] > if not clean: > calllocal.append('--no-clean') > return (sys.argv[0], calllocal) > >if __name__ == '__main__': > for updateto in (None, '2.3-1'): > for clean in (True,False,None): > t1 = test1(updateto=updateto, clean=clean) > t2 = test2(updateto=updateto, clean=clean) > print 'updateto=%s\tclean=%s\t%s\t%s' % (updateto, clean, t1 == t2, t1)
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 Raw
Actions:
View
Attachments on
bug 16454
: 2183 |
2230