Skip to content

Commit

Permalink
Don't index python traceback
Browse files Browse the repository at this point in the history
  • Loading branch information
josh committed Jul 6, 2011
1 parent be58fc4 commit 10a39fc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 1 addition & 3 deletions lib/linguist/languages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -640,9 +640,7 @@ Python traceback:
type: data
group: Python
lexer: Python Traceback
search_term: pytb
aliases:
- pytb
searchable: false
extensions:
- .pytb

Expand Down
2 changes: 0 additions & 2 deletions test/test_language.rb
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,6 @@ def test_find_by_alias
assert_equal Language['Parrot Internal Representation'], Language.find_by_alias('pir')
assert_equal Language['Perl'], Language.find_by_alias('perl')
assert_equal Language['Pure Data'], Language.find_by_alias('pure-data')
assert_equal Language['Python traceback'], Language.find_by_alias('pytb')
assert_equal Language['Python'], Language.find_by_alias('python')
assert_equal Language['Raw token data'], Language.find_by_alias('raw')
assert_equal Language['Ruby'], Language.find_by_alias('rb')
Expand Down Expand Up @@ -256,7 +255,6 @@ def test_search_term
assert_equal 'lhs', Language['Literate Haskell'].search_term
assert_equal 'ruby', Language['Mirah'].search_term
assert_equal 'pir', Language['Parrot Internal Representation'].search_term
assert_equal 'pytb', Language['Python traceback'].search_term
assert_equal 'raw', Language['Raw token data'].search_term
assert_equal 'bash', Language['Shell'].search_term
assert_equal 'vim', Language['VimL'].search_term
Expand Down

0 comments on commit 10a39fc

Please sign in to comment.