~ubuntu-branches/ubuntu/natty/pytrainer/natty-proposed

« back to all changes in this revision

Viewing changes to extensions/wordpress/main.py

  • Committer: Bazaar Package Importer
  • Author(s): Alessio Treglia
  • Date: 2010-02-04 06:07:11 UTC
  • mfrom: (4.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20100204060711-25n5aw66w5egeiph
Tags: 1.7.1-1ubuntu1
* Merge from debian testing, remaining changes:
  - debian/control:
    + Replace Depends on iceweasel with firefox | abrowser.
    + Bump python-dev,debhelper build-dependencies.
    - Drop dependency on python-glade2 (libglade -> gtkbuilder transition).
  - debian/rules:
    + Append --install-laoyut=deb to setup.py install to prevent a build
      failure with Python 2.6.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/env python
2
 
import wordpresslib
3
 
import points as Points
4
2
from optparse import OptionParser
5
3
import os
6
 
import googlemaps
7
4
import sys
8
 
sys.path.insert(0,os.path.join(sys.path[0],'../../pytrainer/lib'))
9
 
from date import Date
10
 
 
11
5
import SOAPpy
12
6
 
 
7
import wordpresslib
 
8
import googlemaps
 
9
import pytrainer.lib.points as Points
 
10
from pytrainer.lib.date import Date
 
11
 
13
12
class Main:
14
13
        def __init__(self,options):
15
14
                self.wordpressurl = options.wordpressurl