PNG  IHDR;IDATxܻn0K )(pA 7LeG{ §㻢|ذaÆ 6lذaÆ 6lذaÆ 6lom$^yذag5bÆ 6lذaÆ 6lذa{ 6lذaÆ `}HFkm,mӪôô! x|'ܢ˟;E:9&ᶒ}{v]n&6 h_tڠ͵-ҫZ;Z$.Pkž)!o>}leQfJTu іچ\X=8Rن4`Vwl>nG^is"ms$ui?wbs[m6K4O.4%/bC%t Mז -lG6mrz2s%9s@-k9=)kB5\+͂Zsٲ Rn~GRC wIcIn7jJhۛNCS|j08yiHKֶۛkɈ+;SzL/F*\Ԕ#"5m2[S=gnaPeғL lذaÆ 6l^ḵaÆ 6lذaÆ 6lذa; _ذaÆ 6lذaÆ 6lذaÆ RIENDB`  xfc@szdZdaddlZddlZddlZdadadaddZdZ dZ e d krve ndS( s(Ostensibly) fix copyright notices in files. Actually, this sript will simply replace a block of text in a file from one string to another. It will only do this once though, i.e. not globally throughout the file. It writes a backup file and then does an os.rename() dance for atomicity. Usage: fixnotices.py [options] [filenames] Options: -h / --help Print this message and exit --oldnotice=file Use the notice in the file as the old (to be replaced) string, instead of the hard coded value in the script. --newnotice=file Use the notice in the file as the new (replacement) string, instead of the hard coded value in the script. --dry-run Don't actually make the changes, but print out the list of files that would change. When used with -v, a status will be printed for every file. -v / --verbose Print a message for every file looked at, indicating whether the file is changed or not. s/*********************************************************** Copyright (c) 2000, BeOpen.com. Copyright (c) 1995-2000, Corporation for National Research Initiatives. Copyright (c) 1990-1995, Stichting Mathematisch Centrum. All rights reserved. See the file "Misc/COPYRIGHT" for information on usage and redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES. ******************************************************************/ iNticCs+ttGH|r|GHntj|dS(N(t__doc__tglobalstsystexit(tcodetmsg((s//usr/lib64/python2.7/Tools/scripts/fixnotice.pytusage4s cCs6y5tjtjdddddddg\}}Wn#tjk rZ}td|nXx|D]\}}|dkrtd qb|dkrdaqb|d krdaqb|dkrt|}|ja |j qb|dkrbt|}|ja |j qbqbWx|D]}t |qWdS(Nithvthelps oldnotice=s newnotice=sdry-runtverboses-hs--helpis-vs --verboses --dry-runs --oldnotices --newnotice(s-hs--help(s-vs --verbose( tgetoptRtargvterrorRtVERBOSEtDRYRUNtopentreadt OLD_NOTICEtcloset NEW_NOTICEtprocess(toptstargsRtopttargtfp((s//usr/lib64/python2.7/Tools/scripts/fixnotice.pytmain;s.               cCst|}|j}|j|jt}|dkrStrOdG|GHndSts_trkdG|GHntrudS|| t||tt}|d}|d}t|d}|j ||jt j ||t j ||dS(Nis no change:s change:s.news.baktw( RRRtfindRRRRtlentwritetostrename(tfiletftdatatitnewtbackup((s//usr/lib64/python2.7/Tools/scripts/fixnotice.pyRXs(            t__main__( RRR RR RRRRRRt__name__(((s//usr/lib64/python2.7/Tools/scripts/fixnotice.pyts