~guadalinex-members/hermeshardware/gv5

« back to all changes in this revision

Viewing changes to utils/synaptic.py

  • Committer: fontanon
  • Date: 2008-04-23 09:24:20 UTC
  • Revision ID: svn-v4:fecba971-2e3e-0410-8991-b5285d0e4d01:apps/hermes/trunk:214
Webcam behavior modified to use Cheese instead camorama and some bugfixes

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
        print proc
28
28
        f = proc.stdin
29
29
 
30
 
        for pkg in pkg_list:
31
 
            f.write("%s\tinstall\n" % pkg)
32
 
        f.close()
 
30
        try:
 
31
            for pkg in pkg_list:
 
32
                f.write("%s\tinstall\n" % pkg)
 
33
            f.close()
 
34
        except:
 
35
            return False
 
36
 
33
37
        proc.wait()
34
38
        return True
35
39