Skip to content
This repository has been archived by the owner on Mar 22, 2018. It is now read-only.

Commit

Permalink
just configured flymake in emacs.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mario Frasca committed Jan 10, 2015
1 parent 96c409a commit 84f2f3f
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 26 deletions.
11 changes: 3 additions & 8 deletions bauble/editor.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,10 @@
import datetime
import os
import sys
import traceback
import weakref

try:
import gtk
import gobject
except:
from bauble.fake_gtk import gtk, gobject
import gtk
import gobject

import dateutil.parser as date_parser
import lxml.etree as etree
Expand All @@ -24,11 +20,10 @@

import bauble
import bauble.db as db
from bauble.error import check, CheckConditionError, BaubleError
from bauble.error import check
import bauble.paths as paths
import bauble.prefs as prefs
import bauble.utils as utils
from bauble.error import CommitException
from bauble.utils.log import debug, warning

# TODO: create a generic date entry that can take a mask for the date format
Expand Down
12 changes: 6 additions & 6 deletions bauble/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@
except:
from bauble.fake_gtk import gtk

from sqlalchemy import or_, and_, not_, Unicode, UnicodeText, text
from sqlalchemy import or_
from sqlalchemy import Unicode
from sqlalchemy import UnicodeText
from sqlalchemy.orm import class_mapper
from sqlalchemy.orm.properties import ColumnProperty, RelationshipProperty
from sqlalchemy.orm.properties import ColumnProperty

import bauble
from bauble.error import check, CheckConditionError, BaubleError
import bauble.db as db
import bauble.pluginmgr as pluginmgr
from bauble.error import check
from bauble.utils.log import debug
import bauble.utils as utils

Expand Down Expand Up @@ -370,7 +370,7 @@ def unicol(col, v):

from pyparsing import (Word, alphas8bit, removeQuotes, delimitedList, Regex,
OneOrMore, oneOf, alphas, alphanums, Group, Literal,
stringEnd, Keyword, quotedString, ZeroOrMore,
stringEnd, Keyword, quotedString,
CaselessLiteral, infixNotation, opAssoc, Forward)

class SearchParser(object):
Expand Down
6 changes: 1 addition & 5 deletions bauble/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,7 @@

import fibra

try:
import gtk
import gobject
except:
from bauble.fake_gtk import gtk, gobject
import gtk

import bauble
import bauble.utils as utils
Expand Down
8 changes: 1 addition & 7 deletions bauble/ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,9 @@
#

import os
import sys
import traceback


try:
import gtk
import gobject
except:
from bauble.fake_gtk import gtk, gobject
import gtk

import bauble
import bauble.db as db
Expand Down

0 comments on commit 84f2f3f

Please sign in to comment.