Loading

Paste #pa5zphd3b

  1. diff --git a/Makefile b/Makefile
  2. --- a/Makefile
  3. +++ b/Makefile
  4. @@ -118,7 +118,7 @@ GIT            ?= git
  5.  PYTHON         ?= python

Paste #padcfwqxa

  1. diff --git a/Makefile b/Makefile
  2. --- a/Makefile
  3. +++ b/Makefile
  4. @@ -118,7 +118,7 @@ GIT            ?= git
  5.  PYTHON         ?= python

Paste #pmrtvpehn

  1. $  unix2dos -q --version > /dev/null 2>&1
  2. $  echo $?
  3. 0
  4. $  unixx2dos -q --version > /dev/null 2>&1
  5. $  echo $?                                
  6. 127

Paste #pfmvn0rlm

  1. CalcBridgeLenCostFactor
  2. length | 1 | 2 | 3 | 4 | 5 |  6 |  7 |  8 |  9 | 10 | 11 | 12 | 13
  3. sum    | 1 | 2 | 3 | 5 | 7 | 10 | 13 | 16 | 20 | 24 | 28 | 32 | 37
  4. delta  | - | - | 1 | 2 | 2 |  3 |  3 |  3 |  4 |  4 |  4 |  4 |  5

Paste #ptibr0ltx

  1. Index: src/window.cpp
  2. ===================================================================
  3. --- src/window.cpp  (revision 27146)
  4. +++ src/window.cpp  (working copy)
  5. @@ -87,12 +87,10 @@

Paste #pho6l0czv

  1. Index: src/network/network_chat_gui.cpp
  2. ===================================================================
  3. --- src/network/network_chat_gui.cpp    (revision 27145)
  4. +++ src/network/network_chat_gui.cpp    (working copy)
  5. @@ -21,6 +21,7 @@

Paste #px1iu8hht

  1. Index: src/statusbar_gui.cpp
  2. ===================================================================
  3. --- src/statusbar_gui.cpp   (revision 27145)
  4. +++ src/statusbar_gui.cpp   (working copy)
  5. @@ -90,6 +90,11 @@

Paste #pxp1x8dsg

  1. Index: src/table/settings.ini
  2. ===================================================================
  3. --- src/table/settings.ini  (revision 27142)
  4. +++ src/table/settings.ini  (working copy)
  5. @@ -3507,12 +3507,12 @@

Paste #phloxcurg

  1. 2009-07-10 00:22 +0200
  2. 2009-08-11 22:19 +0200
  3. 2009-09-21 21:23 +0200
  4. 2009-12-10 22:13 +0100
  5. 2009-12-23 13:19 +0100

Paste #pwiavkdhb

  1.     def industries_using_cargo(self, cargo):
  2.         # segmented by economy
  3.         result = {}
  4.         for economy in self.get_economies_sorted_by_name():
  5.             accepted_by = self.industry_find_industries_active_in_economy_for_cargo(cargo, economy, 'accept_cargo_types')

Paste #plbaxzxsg

  1. In Industry class:
  2.  
  3.     def __lt__(self, other):
  4.         if not isinstance(other, Industry):
  5.             return None # Cannot compare

Paste #pqa8wdwft

  1.             economy_industries = []
  2.             accepted_by = self.industry_find_industries_active_in_economy_for_cargo(cargo, economy, 'accept_cargo_types')
  3.             produced_by = self.industry_find_industries_active_in_economy_for_cargo(cargo, economy, 'prod_cargo_types')
  4.             for industry in accepted_by:
  5.                 economy_industries.append(industry)

Paste #prlofnv4e

  1.   File "src/render_docs.py", line 140, in cargo_unique_industry_combinations
  2.     industry_key = tuple(sorted(economy_industries))
  3. TypeError: unorderable types: Industry() < IndustryTertiary()
  4.  
  5.  - Expression: "doc_helper.cargo_unique_industry_combinations(cargo)"

Paste #pfugylhnz

  1. grf {
  2.  grfid: "RS\01\02";
  3.  name: string(STR_GRF_NAME);
  4.  desc: string(STR_GRF_DESCRIPTION);
  5.  version: 1;

Paste #pw8euv3hc

  1. key=lambda cargo: doc_helper.get_cargo_name(cargo)
  2.  
  3. key=doc_helper.get_cargo_name