|
Last change
on this file since 516 was
204,
checked in by presbrey, 19 years ago
|
|
gems install script
rpms install script
user import signup script
suexec SELinux error bug fix
|
-
Property svn:executable set to
*
|
|
File size:
338 bytes
|
| Line | |
|---|
| 1 | #!/usr/bin/python |
|---|
| 2 | """Retrieve local ruby gem list from scripts.mit.edu |
|---|
| 3 | |
|---|
| 4 | Joe Presbrey <presbrey@mit.edu""" |
|---|
| 5 | |
|---|
| 6 | import commands, re |
|---|
| 7 | |
|---|
| 8 | def scripts_gems(): |
|---|
| 9 | cout = commands.getoutput('gem list --local') |
|---|
| 10 | return re.findall('([^\s]+)\s\([0-9\.]+\)', cout) |
|---|
| 11 | |
|---|
| 12 | if __name__ == "__main__": |
|---|
| 13 | for x in gems_local(): |
|---|
| 14 | if x == 'sources': continue |
|---|
| 15 | print x |
|---|
Note: See
TracBrowser
for help on using the repository browser.