~mvo/software-center/improve-test-for-config

« back to all changes in this revision

Viewing changes to software-center-dbus

  • Committer: Gary Lasker
  • Date: 2012-08-01 04:26:27 UTC
  • mfrom: (3069.2.20 dbus-data-provider)
  • Revision ID: gary.lasker@canonical.com-20120801042627-w8koufufg9ortsd3
* lp:~mvo/software-center/dbus-data-provider:
  - add a dbus data provider for the appdetails so that the unity
    lens can use it for the app preview 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/python
 
2
# Copyright (C) 2012 Canonical
 
3
#
 
4
# Authors:
 
5
#  Michael Vogt
 
6
#
 
7
# This program is free software; you can redistribute it and/or modify it under
 
8
# the terms of the GNU General Public License as published by the Free Software
 
9
# Foundation; version 3.
 
10
#
 
11
# This program is distributed in the hope that it will be useful, but WITHOUT
 
12
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 
13
# FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
 
14
# details.
 
15
#
 
16
# You should have received a copy of the GNU General Public License along with
 
17
# this program; if not, write to the Free Software Foundation, Inc.,
 
18
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
19
 
 
20
import logging
 
21
from softwarecenter.db.dataprovider import dbus_main
 
22
 
 
23
 
 
24
if __name__ == "__main__":
 
25
    logging.basicConfig(level=logging.DEBUG)
 
26
    dbus_main()