public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/layman:master commit in: bin/
@ 2011-02-14  6:00 Brian Dolbec
  0 siblings, 0 replies; 4+ messages in thread
From: Brian Dolbec @ 2011-02-14  6:00 UTC (permalink / raw
  To: gentoo-commits

commit:     61135ce4b04e52855e0ce320777ec671cccf710c
Author:     Brian Dolbec <brian.dolbec <AT> gmail <DOT> com>
AuthorDate: Wed Jul  7 02:53:29 2010 +0000
Commit:     Brian Dolbec <brian.dolbec <AT> gmail <DOT> com>
CommitDate: Fri Feb 11 10:49:13 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/layman.git;a=commit;h=61135ce4

change the shebang because it would not run in my test environment

---
 bin/layman |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/bin/layman b/bin/layman
index b85f4fa..c454510 100755
--- a/bin/layman
+++ b/bin/layman
@@ -1,4 +1,4 @@
-#!python
+#!/usr/bin/env python
 ################################################################################
 # LAYMAN - A UTILITY TO SELECT AND UPDATE GENTOO OVERLAYS
 ################################################################################



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] proj/layman:master commit in: bin/
@ 2011-04-27 10:58 Brian Dolbec
  0 siblings, 0 replies; 4+ messages in thread
From: Brian Dolbec @ 2011-04-27 10:58 UTC (permalink / raw
  To: gentoo-commits

commit:     a9fe3d3dc2794ab46af1b68728aa7a12f0733f49
Author:     Brian Dolbec <brian.dolbec <AT> gmail <DOT> com>
AuthorDate: Thu Feb 24 06:15:06 2011 +0000
Commit:     Brian Dolbec <brian.dolbec <AT> gmail <DOT> com>
CommitDate: Sun Mar 27 02:39:13 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/layman.git;a=commit;h=a9fe3d3d

fix whitespace, change the version

---
 bin/layman |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/layman b/bin/layman
index 5723a58..6299d34 100755
--- a/bin/layman
+++ b/bin/layman
@@ -16,7 +16,7 @@
 #             Brian Dolbec <brian.dolbec@gmail.com>
 #
 
-__version__ = "$Id$"
+__version__ = "0.2"
 
 #===============================================================================
 #
@@ -24,7 +24,7 @@ __version__ = "$Id$"
 #
 #-------------------------------------------------------------------------------
 
-from   layman.argsparser            import ArgsParser
+from   layman.argsparser     import ArgsParser
 from   layman.cli            import Main
 
 #===============================================================================



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] proj/layman:master commit in: bin/
@ 2016-11-10  2:59 Devan Franchini
  0 siblings, 0 replies; 4+ messages in thread
From: Devan Franchini @ 2016-11-10  2:59 UTC (permalink / raw
  To: gentoo-commits

commit:     75899bb9d56f9125fc1bda496eb0e8ff9c2b6e72
Author:     Devan Franchini <twitch153 <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 10 02:57:51 2016 +0000
Commit:     Devan Franchini <twitch153 <AT> gentoo <DOT> org>
CommitDate: Thu Nov 10 02:57:54 2016 +0000
URL:        https://gitweb.gentoo.org/proj/layman.git/commit/?id=75899bb9

bin/layman: Adds exception handling on ^c bug 539336

 bin/layman | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/bin/layman b/bin/layman
index ba91c20..fbb793b 100755
--- a/bin/layman
+++ b/bin/layman
@@ -42,4 +42,7 @@ except KeyError:
     pass
 
 main = Main(ArgsParser(root=root))
-main()
+try:
+    main()
+except KeyboardInterrupt:
+    print('Interrupt received, exiting...')


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] proj/layman:master commit in: bin/
@ 2020-04-24 20:59 Brian Dolbec
  0 siblings, 0 replies; 4+ messages in thread
From: Brian Dolbec @ 2020-04-24 20:59 UTC (permalink / raw
  To: gentoo-commits

commit:     19ada4cea20b317fffcdd43c3d64e606f47d6607
Author:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 24 12:42:13 2020 +0000
Commit:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
CommitDate: Fri Apr 24 13:57:00 2020 +0000
URL:        https://gitweb.gentoo.org/proj/layman.git/commit/?id=19ada4ce

bin/layman: Add development code pythonpath insert

Signed-off-by: Brian Dolbec <dolsen <AT> gentoo.org>

 bin/layman | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/bin/layman b/bin/layman
index fbb793b..0c8f061 100755
--- a/bin/layman
+++ b/bin/layman
@@ -20,6 +20,12 @@ __version__ = "0.2"
 
 import os
 
+# Used for running live development code only
+#import sys
+#print(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
+#sys.path.insert(0,os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
+
+
 #===============================================================================
 #
 # Dependencies


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-04-24 20:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-14  6:00 [gentoo-commits] proj/layman:master commit in: bin/ Brian Dolbec
  -- strict thread matches above, loose matches on Subject: below --
2011-04-27 10:58 Brian Dolbec
2016-11-10  2:59 Devan Franchini
2020-04-24 20:59 Brian Dolbec

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox