Comment 2 for bug 146145

Revision history for this message
Peter Frühberger (peter-fruehberger) wrote :

From /usr/bin/kblueplugd:

import commands

x = commands.getstatusoutput('ps ax|grep rotatelogs')[1]

#!/usr/bin/python
# -*- coding: UTF-8 -*-
"""
Copyright (C) 2007 Achim Bohnet <email address hidden>

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
"""

import sys
from PyQt4 import QtCore, QtGui
import dbus
import dbus.mainloop.qt
import distutils.spawn

I think some patching went totally wrong, it has to look like this:

#!/usr/bin/python
# -*- coding: UTF-8 -*-
"""
Copyright (C) 2007 Achim Bohnet <email address hidden>

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
"""

import sys
from PyQt4 import QtCore, QtGui
import dbus
import dbus.mainloop.qt
import distutils.spawn
import commands

x = commands.getstatusoutput('ps ax|grep rotatelogs')[1]

...

This does not fix receive files bug from the phone, as building svn does ...