~ubuntu-branches/ubuntu/precise/remuco-server/precise

« back to all changes in this revision

Viewing changes to adapter/mpd/install-check.py

  • Committer: Bazaar Package Importer
  • Author(s): Chow Loong Jin
  • Date: 2009-03-30 00:59:36 UTC
  • Revision ID: james.westby@ubuntu.com-20090330005936-hkxki384hm0d33gj
Tags: upstream-0.8.2.1
ImportĀ upstreamĀ versionĀ 0.8.2.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
import sys
 
2
 
 
3
try:
 
4
    import mpd
 
5
except ImportError, e:
 
6
    print("")
 
7
    print("+-----------------------------------------------------------------+")
 
8
    print("| Unsatisfied Python requirement: %s." % e)
 
9
    print("| Please install the missing module and then retry.")
 
10
    print("+-----------------------------------------------------------------+")
 
11
    print("")
 
12
    sys.exit(1)
 
 
b'\\ No newline at end of file'