~sonium/picard/wizard

« back to all changes in this revision

Viewing changes to po/rename.py

  • Committer: Alexander Hupfer
  • Date: 2008-09-07 14:45:49 UTC
  • mfrom: (804.1.32 main)
  • Revision ID: sonium@sonium-laptop-20080907144549-uy5itzzvh3fon23i
mergedĀ fromĀ trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/env python
 
2
 
 
3
import os, shutil
 
4
 
 
5
for name in os.listdir('.'):
 
6
    if name.startswith('picard-') and name.endswith('.po'):
 
7
        newname = name[7:]
 
8
        shutil.move(name, newname)