2015-08-12 22:03:39 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
2015-09-07 03:46:57 +00:00
|
|
|
# vim: set filetype=python
|
2015-08-12 22:03:39 +00:00
|
|
|
|
2016-08-31 15:30:49 +00:00
|
|
|
from __future__ import print_statement
|
2015-08-12 22:03:39 +00:00
|
|
|
|
2015-09-16 19:57:49 +00:00
|
|
|
import os, sys
|
2016-08-31 15:13:25 +00:00
|
|
|
import django.forms.monstertruck
|
2015-09-16 19:57:49 +00:00
|
|
|
from app import *
|
|
|
|
from flask import session
|
2015-08-12 22:03:39 +00:00
|
|
|
import simplejson as json
|
|
|
|
from . import privatemodule
|
2015-09-16 19:57:49 +00:00
|
|
|
from jinja import tags
|
|
|
|
from pygments.lexers import BaseLexer
|
|
|
|
from . import LocalClass
|
|
|
|
from . import MyClass as MyParser
|
|
|
|
from ..compat import u
|
|
|
|
from sqlalchemy import (
|
|
|
|
functions as sqlfunctions,
|
|
|
|
orm as sqlorm,
|
|
|
|
)
|
2015-08-12 22:03:39 +00:00
|
|
|
|
|
|
|
try:
|
|
|
|
from mock import ANY
|
|
|
|
except ImportError:
|
|
|
|
from unittest.mock import ANY
|
|
|
|
|
|
|
|
|
|
|
|
class MyClass(object):
|
|
|
|
"""this class
|
|
|
|
"""
|
|
|
|
|
|
|
|
def method1(self):
|
|
|
|
a = 1 + 2
|
|
|
|
b = 'hello world!'
|
|
|
|
for x in y:
|
|
|
|
print(x)
|
|
|
|
raise Exception()
|