Commit 356e6558 authored by Marco Mariani's avatar Marco Mariani

added vim header for tabs

parent 8af89be7
# -*- coding: utf-8 -*-
# vim: set et sts=2:
from optparse import OptionParser, Option from optparse import OptionParser, Option
import ConfigParser import ConfigParser
import logging import logging
......
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# vim: set et sts=2:
import os import os
import urllib import urllib
......
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# vim: set et sts=2:
import slapos.slap import slapos.slap
import time import time
...@@ -179,4 +180,4 @@ def gitPull(project): ...@@ -179,4 +180,4 @@ def gitPull(project):
def safeResult(result): def safeResult(result):
"""Parse string and remove credential of the user""" """Parse string and remove credential of the user"""
regex=re.compile("(https:\/\/)([\w\d\._-]+:[\w\d\._-]+)\@([\S]+\s)", re.VERBOSE) regex=re.compile("(https:\/\/)([\w\d\._-]+:[\w\d\._-]+)\@([\S]+\s)", re.VERBOSE)
return regex.sub(r'\1\3', result) return regex.sub(r'\1\3', result)
\ No newline at end of file
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# vim: set et sts=2:
import os import os
import sys import sys
import views import views
...@@ -290,4 +292,4 @@ def main(): ...@@ -290,4 +292,4 @@ def main():
unittest.main(module=SlaprunnerTestCase, argv=argv) unittest.main(module=SlaprunnerTestCase, argv=argv)
if __name__ == '__main__': if __name__ == '__main__':
main() main()
\ No newline at end of file
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# vim: set et sts=2:
import slapos.slap import slapos.slap
import time import time
......
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# vim: set et sts=2:
from flask import Flask, request, redirect, url_for, \ from flask import Flask, request, redirect, url_for, \
render_template, g, flash, jsonify, session, abort, send_file render_template, g, flash, jsonify, session, abort, send_file
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment