Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: refactor
Fetching contributors…

Cannot retrieve contributors at this time

37 lines (31 sloc) 1.698 kb
#!/usr/bin/python
# -*- coding: utf-8 -*-
########################################################################
# Copyright (C) 2011 by John Harris <harrisj@mnstate.edu> #
# #
# This program is free software; you can redistribute it and#or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation; either version 2 of the License, or #
# (at your option) any later version. #
# #
# This program is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with this program; if not, write to the #
# Free Software Foundation, Inc., #
# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #
########################################################################
from sys import argv, exit
from equitube import Equitube, Tube, EquitubeException
from equitube.output import error
if __name__ == "__main__":
try:
application = Equitube(argv)
application.Run()
except EquitubeException, e:
if (len(e.GetMessage()) > 0): error(e.GetMessage())
exit(1)
exit(0)
Jump to Line
Something went wrong with that request. Please try again.