[Uludag-commits] r16972 - branches/pisi-1.1/pisi/actionsapi

uludag-commits at pardus.org.tr uludag-commits at pardus.org.tr
4 Şub 2008 Pzt 20:49:17 EET


Author: faik
Date: Mon Feb  4 20:49:17 2008
New Revision: 16972

Modified:
   branches/pisi-1.1/pisi/actionsapi/kde.py
Log:
[actionsapi] remove domo



Modified: branches/pisi-1.1/pisi/actionsapi/kde.py
=================================================================
--- branches/pisi-1.1/pisi/actionsapi/kde.py	(original)
+++ branches/pisi-1.1/pisi/actionsapi/kde.py	Mon Feb  4 20:49:17 2008
@@ -23,7 +23,6 @@
 import pisi.actionsapi
 import pisi.actionsapi.get as get
 from pisi.actionsapi.shelltools import system
-from pisi.actionsapi.pisitoolsfunctions import *
 from pisi.actionsapi.shelltools import can_access_file
 
 class ConfigureError(pisi.actionsapi.Error):
@@ -80,12 +79,3 @@
             raise InstallError(_('Install failed.'))
     else:
         raise InstallError(_('No Makefile found.'))
-
-def domo(sourceFile, locale, destinationFile ):
-    '''inserts the mo files in the list of files into /usr/kde/VERSION/share/locale/LOCALE/LC_MESSAGES'''
-
-    '''example call: kde.domo("po/tr.po", "tr", "pam_login.mo")'''
-
-    system('msgfmt %s' % sourceFile)
-    makedirs(join_path(get.installDIR(), get.kdeDIR(), 'share/locale', locale, 'LC_MESSAGES'))
-    move('messages.mo', join_path(get.installDIR(), get.kdeDIR(), 'share/locale', locale, 'LC_MESSAGES', destinationFile))


Uludag-commits mesaj listesiyle ilgili daha fazla bilgi