hash
stringlengths
40
40
diff
stringlengths
131
26.7k
message
stringlengths
7
694
project
stringlengths
5
67
split
stringclasses
1 value
diff_languages
stringlengths
2
24
61f866bb942d76955e3453e412d2e2a81f860176
diff --git a/head.go b/head.go index <HASH>..<HASH> 100644 --- a/head.go +++ b/head.go @@ -34,6 +34,11 @@ var ( ErrOutOfBounds = errors.New("out of bounds") ) +type sample struct { + t int64 + v float64 +} + // headBlock handles reads and writes of time series data within a time window. type headBlock struct { ...
Add Sample Back The compilation and tests are broken as head.go requires sample which has been moved to another package while moving BufferedSeriesIterator. Duplication seemed better compared to exposing sample from tsdbutil.
prometheus_prometheus
train
go
877ab547381533ba8d2bd6c343a77aec6e8ce248
diff --git a/bson/src/main/org/bson/codecs/DocumentCodec.java b/bson/src/main/org/bson/codecs/DocumentCodec.java index <HASH>..<HASH> 100644 --- a/bson/src/main/org/bson/codecs/DocumentCodec.java +++ b/bson/src/main/org/bson/codecs/DocumentCodec.java @@ -84,7 +84,7 @@ public class DocumentCodec implements CollectibleCo...
Update DocumentCodec.java The assertion is unnecessary because "new ObjectIdGenerator()" is never not null
mongodb_mongo-java-driver
train
java
dc3ed86c38411a529b358f46a60247e586fd7edf
diff --git a/linux/hci.go b/linux/hci.go index <HASH>..<HASH> 100644 --- a/linux/hci.go +++ b/linux/hci.go @@ -122,7 +122,7 @@ func (h *HCI) SetScanEnable(en bool, dup bool) error { return h.c.SendAndCheckResp( cmd.LESetScanEnable{ LEScanEnable: btoi(en), - FilterDuplicates: btoi(dup), + FilterDuplicat...
linux: fix the dup filter of Scan
paypal_gatt
train
go
1797e534ec05a6278d31c4bcb70ffbffd89ce0cd
diff --git a/src/Artax/Client.php b/src/Artax/Client.php index <HASH>..<HASH> 100644 --- a/src/Artax/Client.php +++ b/src/Artax/Client.php @@ -145,6 +145,11 @@ class Client { private $requestStateMap; /** + * @var array + */ + private $streamIdRequestMap; + + /** * @var Mediator ...
added streamIdRequestMap property declaration
amphp_artax
train
php
a4ac1be65c4d2b90dcbea08530afb8c3b8f8e0be
diff --git a/packages/lingui-i18n/src/compile.js b/packages/lingui-i18n/src/compile.js index <HASH>..<HASH> 100644 --- a/packages/lingui-i18n/src/compile.js +++ b/packages/lingui-i18n/src/compile.js @@ -20,10 +20,10 @@ const defaultFormats = (language) => { return { plural: (value, { offset = 0, rules }) => -...
fix: Return fallback plural form when the correct doesn't exist
lingui_js-lingui
train
js
7f2a05c364e3a76da746bfd2b68eee3f28bed04d
diff --git a/example/app.py b/example/app.py index <HASH>..<HASH> 100644 --- a/example/app.py +++ b/example/app.py @@ -30,9 +30,14 @@ def create_users(): ('joe@lp.com', 'password', ['editor'], True), ('jill@lp.com', 'password', ['author'], True), ('tiya@lp.com', 'password...
Try and fix an issue with python <I>
mattupstate_flask-security
train
py
ac4e8360a887189782c735294a859279999563b0
diff --git a/lib/node.io/processor.js b/lib/node.io/processor.js index <HASH>..<HASH> 100644 --- a/lib/node.io/processor.js +++ b/lib/node.io/processor.js @@ -550,13 +550,13 @@ Processor.prototype.input = function(job, input, forWorker) { //Called when a job instance wants to dynamically add input (outside of job.inpu...
Temporarily reverted addInput
node-js-libs_node.io
train
js
eeaafaa12b6a0a3b72e33bda3e028e40d9b91d1f
diff --git a/spyderlib/utils/introspection/plugin_manager.py b/spyderlib/utils/introspection/plugin_manager.py index <HASH>..<HASH> 100644 --- a/spyderlib/utils/introspection/plugin_manager.py +++ b/spyderlib/utils/introspection/plugin_manager.py @@ -17,7 +17,7 @@ from spyderlib.qt.QtCore import SIGNAL, QThread, QObjec...
Tested completions with module completions using fallback.
spyder-ide_spyder
train
py
3f39508271c406f1a31b26639e92ed52cec3b8d6
diff --git a/spec/sidekiq/throttler_spec.rb b/spec/sidekiq/throttler_spec.rb index <HASH>..<HASH> 100644 --- a/spec/sidekiq/throttler_spec.rb +++ b/spec/sidekiq/throttler_spec.rb @@ -16,7 +16,7 @@ describe Sidekiq::Throttler do let(:message) do { - args: 'Clint Eastwood' + 'args' => 'Clint Eastwood'...
Fix bad message setup. Message setup in the test was using symbols for the key, but, the tests themselves were using a string as the key. This doesn't seem to break anything...
gevans_sidekiq-throttler
train
rb
2b66c77a1f3024e73cb1ebe3cd4ca431d9676aa8
diff --git a/src/tools/Fsck.java b/src/tools/Fsck.java index <HASH>..<HASH> 100644 --- a/src/tools/Fsck.java +++ b/src/tools/Fsck.java @@ -117,11 +117,11 @@ final class Fsck { final AtomicLong vle_fixed = new AtomicLong(); /** Length of the metric + timestamp for key validation */ - private static int key_pr...
"tsdb fsck --fix-all" wrongly clears data points when salting enabled Const.SALT_WIDTH() is actually not constant value, it mustn't be called on class initialization.
OpenTSDB_opentsdb
train
java
2eca62c5d5a1eecb11db244f5a61745d40274414
diff --git a/quark/plugin.py b/quark/plugin.py index <HASH>..<HASH> 100644 --- a/quark/plugin.py +++ b/quark/plugin.py @@ -1127,3 +1127,6 @@ class Plugin(quantum_plugin_base_v2.QuantumPluginBaseV2, (context.tenant_id)) rules = db_api.security_group_rule_find(context, filters=filters) ...
Added non-implementation of abstract update_security_group
openstack_quark
train
py
de947c621d8ee18caca574451c722a6e30c4e6d6
diff --git a/activerecord/lib/active_record/relation.rb b/activerecord/lib/active_record/relation.rb index <HASH>..<HASH> 100644 --- a/activerecord/lib/active_record/relation.rb +++ b/activerecord/lib/active_record/relation.rb @@ -15,7 +15,7 @@ module ActiveRecord # These are explicitly delegated to improve perfor...
There isn't a column_hash. It was being invoked by method missing.
rails_rails
train
rb
51f74cc5c8df0069f0389670e7a5c22d3c6b96ed
diff --git a/debug/viewer.js b/debug/viewer.js index <HASH>..<HASH> 100644 --- a/debug/viewer.js +++ b/debug/viewer.js @@ -180,6 +180,9 @@ var Viewer = { window.require = function (name) { + if (name == 'makerjs' || name == '../target/js/node.maker.js') { + ...
allow require of published makerjs and local
Microsoft_maker.js
train
js
e13664280743453bd2f7162504fa124100546400
diff --git a/core/src/main/java/org/bitcoinj/core/Block.java b/core/src/main/java/org/bitcoinj/core/Block.java index <HASH>..<HASH> 100644 --- a/core/src/main/java/org/bitcoinj/core/Block.java +++ b/core/src/main/java/org/bitcoinj/core/Block.java @@ -231,7 +231,7 @@ public class Block extends Message { time = ...
Correct length of block header when hashing at an offset
bitcoinj_bitcoinj
train
java
9fb56df9a0cc1258601dc942d19ff329e8777ed9
diff --git a/system/src/Grav/Common/Cache.php b/system/src/Grav/Common/Cache.php index <HASH>..<HASH> 100644 --- a/system/src/Grav/Common/Cache.php +++ b/system/src/Grav/Common/Cache.php @@ -64,7 +64,7 @@ class Cache extends Getters $this->enabled = (bool) $this->config->get('system.cache.enabled'); ...
Add back configuration key to caching (was accidentally removed)
getgrav_grav
train
php,php
0ab8c84c2c570157ffabd13974dcb05e091bea6f
diff --git a/src/main/java/eu/hansolo/tilesfx/skins/MatrixIconTileSkin.java b/src/main/java/eu/hansolo/tilesfx/skins/MatrixIconTileSkin.java index <HASH>..<HASH> 100644 --- a/src/main/java/eu/hansolo/tilesfx/skins/MatrixIconTileSkin.java +++ b/src/main/java/eu/hansolo/tilesfx/skins/MatrixIconTileSkin.java @@ -94,7 +94,...
Only start timer if list of matrixicons contains at least 2 elements
HanSolo_tilesfx
train
java
5d40621abbd3ee72772a757a46586e4e7dd324d5
diff --git a/src/MaxMind/Db/Reader/Decoder.php b/src/MaxMind/Db/Reader/Decoder.php index <HASH>..<HASH> 100644 --- a/src/MaxMind/Db/Reader/Decoder.php +++ b/src/MaxMind/Db/Reader/Decoder.php @@ -19,21 +19,37 @@ class Decoder private $pointerTestHack; private $switchByteOrder; + /** @ignore */ const ...
Hide several defines from phpdoc
maxmind_MaxMind-DB-Reader-php
train
php
1abdc137ce8724c3acfd41292208d402bf22196f
diff --git a/lib/omnibus/project.rb b/lib/omnibus/project.rb index <HASH>..<HASH> 100644 --- a/lib/omnibus/project.rb +++ b/lib/omnibus/project.rb @@ -19,14 +19,6 @@ require 'time' require 'json' module Omnibus - # - # Omnibus project DSL reader - # - # @todo It seems like there's a bit of a conflation between ...
Remove comment about conflation with project and packager This is no longer true now that a real packaging DSL exists.
chef_omnibus
train
rb
8cfbf45c268b46bb0510af214bc531e4e045bcde
diff --git a/synapse/cores/common.py b/synapse/cores/common.py index <HASH>..<HASH> 100644 --- a/synapse/cores/common.py +++ b/synapse/cores/common.py @@ -331,7 +331,7 @@ class Cortex(EventBus, DataModel, Runtime, s_ingest.IngestApi, s_telepath.Aware, raise s_exc.NoSuchUser(name=name) if not use...
When raising a AuthDeny include the name of the user being denied access.
vertexproject_synapse
train
py
e81d68ae4bb5fa8b814dd69fde7b2077bcc81ad0
diff --git a/int-tests/src/test/java/org/jboss/arquillian/integration/persistence/datasource/JdbcDriverArchiveAppender.java b/int-tests/src/test/java/org/jboss/arquillian/integration/persistence/datasource/JdbcDriverArchiveAppender.java index <HASH>..<HASH> 100644 --- a/int-tests/src/test/java/org/jboss/arquillian/inte...
Adjusted maven resolver usage to the API changes.
arquillian_arquillian-extension-persistence
train
java
58eabef320f36125791728755b3256480c2937ca
diff --git a/framework/directives/carousel.js b/framework/directives/carousel.js index <HASH>..<HASH> 100755 --- a/framework/directives/carousel.js +++ b/framework/directives/carousel.js @@ -27,16 +27,16 @@ * @description * [en]Fired just after the current carousel item has changed.[/en] * [ja]現在表示しているカルーセルの要...
docs(ons-carousel): Update event docs.
OnsenUI_OnsenUI
train
js
03c454f0dfa99d8834780bcc0d61d4268479611c
diff --git a/multi_dict.py b/multi_dict.py index <HASH>..<HASH> 100644 --- a/multi_dict.py +++ b/multi_dict.py @@ -56,7 +56,10 @@ class MultiDict(): for i in range(len(key)): if not _isdict(value): raise KeyError('Key {} not applicable. Under key {} is a value of type ...
BUG: util/multi_dict.py: now throws KeyError if number of dicts is smaller than dim of key
jor-_util
train
py
39da34c4236b32c4024a86988a8bf7f7d761397f
diff --git a/src/Connector.php b/src/Connector.php index <HASH>..<HASH> 100644 --- a/src/Connector.php +++ b/src/Connector.php @@ -44,6 +44,15 @@ class Connector { return $connector->create($uri->getHost(), $port)->then(function(DuplexStreamInterface $stream) use ($request, $subProtocols) { $futur...
Reject connection is socket closed before handshake
ratchetphp_Pawl
train
php
5411867c89adcab5c35ea2cb773e2c4ca7f49e8d
diff --git a/server/helpers/launcher.js b/server/helpers/launcher.js index <HASH>..<HASH> 100644 --- a/server/helpers/launcher.js +++ b/server/helpers/launcher.js @@ -69,5 +69,5 @@ switch (process.argv[2]) { break; default: - console.log('Usage: [-f|start|stop|restart|status|reconfig|build [-c...
Added -v verbose flag into available commands list
prawnsalad_KiwiIRC
train
js
844d384174970768f097b351719f9d48b31ccad5
diff --git a/falafel/mappers/installed_rpms.py b/falafel/mappers/installed_rpms.py index <HASH>..<HASH> 100644 --- a/falafel/mappers/installed_rpms.py +++ b/falafel/mappers/installed_rpms.py @@ -75,15 +75,15 @@ class InstalledRpm(MapperOutput): self["release"] ) - @computed + @property ...
Enhancements to installed_rpms mapper - Switch several @computed properties to @property - Handle case where the separator between release and arch is a dash instead of a dot.
RedHatInsights_insights-core
train
py
678471395888c464c6ef40cada45549392bcc80a
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -3,24 +3,13 @@ from setuptools import setup -try: - from pypandoc import convert_file - - def read_md(f): - return convert_file(f, 'rst') - -except ImportError: - print("warning: pypandoc module not found,...
fix: pypi now supports markdown
PyCQA_baron
train
py
11c67552be719a476d8fa76963509fb4a8ef8b04
diff --git a/system/core/controllers/cli/Install.php b/system/core/controllers/cli/Install.php index <HASH>..<HASH> 100644 --- a/system/core/controllers/cli/Install.php +++ b/system/core/controllers/cli/Install.php @@ -79,7 +79,7 @@ class Install extends CliController $host = $this->getSubmitted('store.host');...
Minor refactoring cli\Install controller
gplcart_gplcart
train
php
ad81ed00da98179a0ba80b95834e1acc3b5eac1c
diff --git a/pupa/importers/base.py b/pupa/importers/base.py index <HASH>..<HASH> 100644 --- a/pupa/importers/base.py +++ b/pupa/importers/base.py @@ -121,7 +121,11 @@ class BaseImporter(object): if json_id.startswith('~'): spec = get_psuedo_id(json_id) spec = self.limit_spec(spec) - ...
better error message on failure to resolve psuedo-id
opencivicdata_pupa
train
py
f3063b9cb1fde76057c4218682308df45267f52a
diff --git a/src/main/java/org/primefaces/extensions/component/layout/LayoutPane.java b/src/main/java/org/primefaces/extensions/component/layout/LayoutPane.java index <HASH>..<HASH> 100644 --- a/src/main/java/org/primefaces/extensions/component/layout/LayoutPane.java +++ b/src/main/java/org/primefaces/extensions/compon...
Fixed compilation error in LayoutPane
primefaces-extensions_core
train
java
b6cfa0b8e3bd74aaa588dcb3b23720a6b4466fd1
diff --git a/lib/irt/extensions/rails.rb b/lib/irt/extensions/rails.rb index <HASH>..<HASH> 100644 --- a/lib/irt/extensions/rails.rb +++ b/lib/irt/extensions/rails.rb @@ -3,7 +3,8 @@ class ActiveSupport::BufferedLogger alias_method :original_add, :add def add(*args) - message = original_add(*args) + origi...
fixes an issue with rails <I>
ddnexus_irt
train
rb
ed9b45ecf1076cb5cf69735fc002273daca2d7c6
diff --git a/mod/lesson/continue.php b/mod/lesson/continue.php index <HASH>..<HASH> 100644 --- a/mod/lesson/continue.php +++ b/mod/lesson/continue.php @@ -42,6 +42,7 @@ $lessonoutput = $PAGE->get_renderer('mod_lesson'); $url = new moodle_url('/mod/lesson/continue.php', array('id'=>$cm->id)); $PAGE->set_url($url); +...
MDL-<I> lesson: Fix for positioning of blocks on continue.php
moodle_moodle
train
php
6c15788a386a3c7ef2bb7ab135853d343d585dc7
diff --git a/lib/cli.js b/lib/cli.js index <HASH>..<HASH> 100644 --- a/lib/cli.js +++ b/lib/cli.js @@ -6,17 +6,17 @@ var meow = require('meow'); module.exports = function () { var config; - var cli = meow({ + var args = meow({ pkg: '../package.json' }); try { - config = configL...
Use 'args' instead of 'cli'
lesshint_lesshint
train
js
66f984dcda9030297cf9d65d57e299c074ba5a32
diff --git a/Slim/Container.php b/Slim/Container.php index <HASH>..<HASH> 100644 --- a/Slim/Container.php +++ b/Slim/Container.php @@ -32,6 +32,22 @@ */ namespace Slim; +/** + * Container + * + * This is a very simple dependency injection (DI) container. I must + * give a hat tip to Fabien Potencier, because a few...
Provide credit to Pimple in \Slim\Container
slimphp_Slim
train
php
b1b6c883605fb0be0d9592931e872a61532e03bc
diff --git a/test/test_conf_in_symlinks.py b/test/test_conf_in_symlinks.py index <HASH>..<HASH> 100755 --- a/test/test_conf_in_symlinks.py +++ b/test/test_conf_in_symlinks.py @@ -21,6 +21,7 @@ # # This file is used to test reading and processing of config files # +import os import sys from shinken_test import * ...
Fix : test_conf_in_symlinks.py and windows is not a good mix....
Alignak-monitoring_alignak
train
py
11b4239a93badd5927e3d19c168900f9cbf710ae
diff --git a/docs/source/conf.py b/docs/source/conf.py index <HASH>..<HASH> 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -21,6 +21,8 @@ import os import sys sys.path.append('/Users/thomassaunders/Workshop/neo-python/') +# resolve module import errors for :automodule: and :autoclass: +sys.path.appen...
Fix automodule imports such that SmartContract Parameter types are actually parsed.
CityOfZion_neo-python
train
py
714744bd7e43a865d2da00da4bd851e39e175401
diff --git a/library/CM/Model/User.php b/library/CM/Model/User.php index <HASH>..<HASH> 100644 --- a/library/CM/Model/User.php +++ b/library/CM/Model/User.php @@ -202,10 +202,14 @@ class CM_Model_User extends CM_Model_Abstract { } /** + * @param bool|null $withDefault * @return CM_Model_Currency|n...
add $withDefault to be able to get the default currency
cargomedia_cm
train
php
9f17704ae6edb479f23d5e38c86c52ef1019fc8b
diff --git a/spec/unit/azure_server_create_spec.rb b/spec/unit/azure_server_create_spec.rb index <HASH>..<HASH> 100644 --- a/spec/unit/azure_server_create_spec.rb +++ b/spec/unit/azure_server_create_spec.rb @@ -274,9 +274,9 @@ describe Chef::Knife::AzureServerCreate do @server_instance.run end -######...
Added pending testcase for automatic certificate generation
chef_knife-azure
train
rb
518a961050a0463265ee5892507ccbf94ef5a06c
diff --git a/tests/DrafterTest.php b/tests/DrafterTest.php index <HASH>..<HASH> 100644 --- a/tests/DrafterTest.php +++ b/tests/DrafterTest.php @@ -78,8 +78,7 @@ class DrafterTest extends \PHPUnit_Framework_TestCase // the drafter binary will add a line break at the end of the version string $version =...
Do not care about the exact version of drafter binary
hendrikmaus_drafter-php
train
php
1dad5ddf17c86d5e814f72c8d32525a9cd3e92e6
diff --git a/lib/arjdbc/teradata/adapter.rb b/lib/arjdbc/teradata/adapter.rb index <HASH>..<HASH> 100644 --- a/lib/arjdbc/teradata/adapter.rb +++ b/lib/arjdbc/teradata/adapter.rb @@ -111,7 +111,7 @@ module ::ArJdbc output = nil pk = primary_key(table) if pk - output = execute("SELECT TOP 1 #...
Quote table name and column name when looking for primary key
mrcsparker_activerecord-jdbcteradata-adapter
train
rb
77b7931520b1c18cf4b6107826014b94664892b6
diff --git a/lib/handlers/wallaby/cached_compiled_erb.rb b/lib/handlers/wallaby/cached_compiled_erb.rb index <HASH>..<HASH> 100644 --- a/lib/handlers/wallaby/cached_compiled_erb.rb +++ b/lib/handlers/wallaby/cached_compiled_erb.rb @@ -3,8 +3,12 @@ require 'erubis' # TODO: move this kind of logic into a gem called fast...
do not cache compiled era for dev env
reinteractive_wallaby
train
rb
bf49c182d91486c3c2418a1ee21368e642c01799
diff --git a/Source/fluent-ui.js b/Source/fluent-ui.js index <HASH>..<HASH> 100644 --- a/Source/fluent-ui.js +++ b/Source/fluent-ui.js @@ -41,7 +41,7 @@ class FluentUI { original_bg: $(selector).css("background-image"), light_color: "rgba(255,255,255,0.15)", light_effect_size: $(selector).outerWidth(), - ...
change the default option of click_effect_enable to true
d2phap_fluent-reveal-effect
train
js,js
c45cf65415461617084ebce74043c8bd33b2203c
diff --git a/src/Graviton/SchemaBundle/Model/SchemaModel.php b/src/Graviton/SchemaBundle/Model/SchemaModel.php index <HASH>..<HASH> 100644 --- a/src/Graviton/SchemaBundle/Model/SchemaModel.php +++ b/src/Graviton/SchemaBundle/Model/SchemaModel.php @@ -2,7 +2,6 @@ namespace Graviton\SchemaBundle\Model; -use MyProjec...
damn ide, it does too much ;-)
libgraviton_graviton
train
php
04f5876efb71c2766f3a8f705a6c35811b23c75b
diff --git a/inject/src/main/java/io/micronaut/context/DefaultApplicationContextBuilder.java b/inject/src/main/java/io/micronaut/context/DefaultApplicationContextBuilder.java index <HASH>..<HASH> 100644 --- a/inject/src/main/java/io/micronaut/context/DefaultApplicationContextBuilder.java +++ b/inject/src/main/java/io/m...
isEagerInitConfiguration should return eagerInitConfiguration
micronaut-projects_micronaut-core
train
java
4244fb414d36cf07690dd76d48d7b705a375157f
diff --git a/examples/basic.py b/examples/basic.py index <HASH>..<HASH> 100755 --- a/examples/basic.py +++ b/examples/basic.py @@ -7,6 +7,12 @@ import time import pusherclient +# Add a logging handler so we can see the raw communication data +root = logging.getLogger() +root.setLevel(logging.INFO) +ch = logging.St...
Examples - Include rootlogger in basic example.
ekulyk_PythonPusherClient
train
py
fd8c306a5444b2a56b82a4a25f0777c868e36ad4
diff --git a/test/helper.js b/test/helper.js index <HASH>..<HASH> 100644 --- a/test/helper.js +++ b/test/helper.js @@ -11,7 +11,7 @@ exports.getStanza = function(file) { } var Eventer = function() {} -Eventer.prototype = new Event() +Eventer.prototype.__proto__ = Event.prototype Eventer.prototype.send = function(s...
Improvement to helper when splitting tests to multiple files
xmpp-ftw_xmpp-ftw-pubsub
train
js
1a61e06096e8fc15ac38c5357c497861f3df850a
diff --git a/lib/deep_cloneable.rb b/lib/deep_cloneable.rb index <HASH>..<HASH> 100644 --- a/lib/deep_cloneable.rb +++ b/lib/deep_cloneable.rb @@ -80,7 +80,7 @@ class ActiveRecord::Base if association_reflection.options[:as] fk = association_reflection.options[:as].to_s + "_id" ...
fix one bug: when model has namespace, like class is Aaa::Bbb, then it will be raise a undefined method error "can't find aaa/bbb_id", generally, the foreign key will be bbb_id for aaa object, this is a common case.
moiristo_deep_cloneable
train
rb
f1c26e77c535598f84b01035ac8ac465def30c72
diff --git a/scapy/layers/inet6.py b/scapy/layers/inet6.py index <HASH>..<HASH> 100644 --- a/scapy/layers/inet6.py +++ b/scapy/layers/inet6.py @@ -1023,6 +1023,12 @@ class IPv6ExtHdrFragment(_IPv6ExtHdr): IntField("id", None)] overload_fields = {IPv6: {"nh": 44}} + def guess_payload_class(...
IPv6: disable payload detection for non-first fragments
secdev_scapy
train
py
c9d67a46efa9681a4462af9cab2cb614a70237af
diff --git a/classes/GemsEscort.php b/classes/GemsEscort.php index <HASH>..<HASH> 100644 --- a/classes/GemsEscort.php +++ b/classes/GemsEscort.php @@ -527,7 +527,7 @@ class GemsEscort extends MUtil_Application_Escort */ protected function _initSession() { - + $this->bootstrap('project'); // M...
Make session init failsafe and order independent when overruled from project bootstrap
GemsTracker_gemstracker-library
train
php
e4f2d0f21fbff6e4d7504374a4e0c0f719a87b4a
diff --git a/src/Command/IssueTakeCommand.php b/src/Command/IssueTakeCommand.php index <HASH>..<HASH> 100644 --- a/src/Command/IssueTakeCommand.php +++ b/src/Command/IssueTakeCommand.php @@ -69,7 +69,11 @@ EOF 'allow_failures' => true ], [ - 'line' => sprintf('g...
fix #<I> fix bug with tracking on itake when that is the job of the pusher command
gushphp_gush
train
php
e8982ab1c6fac92846d829675c103ee66bf7ace4
diff --git a/src/ruby_supportlib/phusion_passenger/admin_tools/instance_registry.rb b/src/ruby_supportlib/phusion_passenger/admin_tools/instance_registry.rb index <HASH>..<HASH> 100644 --- a/src/ruby_supportlib/phusion_passenger/admin_tools/instance_registry.rb +++ b/src/ruby_supportlib/phusion_passenger/admin_tools/in...
add missing apache name for ubuntu in instance registry dir detection
phusion_passenger
train
rb
d5deeb27c0d7c6a55528478ddff3456d352688a4
diff --git a/jams/version.py b/jams/version.py index <HASH>..<HASH> 100644 --- a/jams/version.py +++ b/jams/version.py @@ -3,4 +3,4 @@ """Version info""" short_version = '0.2' -version = '0.2.0' +version = '0.2.0rc1'
changed version number to rc1
marl_jams
train
py
9b5e1b9cf1473699b54024a8d108ed891411c87d
diff --git a/odl/operator/tensor_ops.py b/odl/operator/tensor_ops.py index <HASH>..<HASH> 100644 --- a/odl/operator/tensor_ops.py +++ b/odl/operator/tensor_ops.py @@ -858,6 +858,8 @@ class MatrixOperator(Operator): def _call(self, x, out=None): """Return ``self(x[, out])``.""" + from pkg_resource...
MAINT: add workaround for Numpy bug in MatrixOperator
odlgroup_odl
train
py
601fd557920424587e5d9f7c2a35909d25d73c47
diff --git a/lib/node_modules/@stdlib/utils/merge/lib/mergefcn.js b/lib/node_modules/@stdlib/utils/merge/lib/mergefcn.js index <HASH>..<HASH> 100644 --- a/lib/node_modules/@stdlib/utils/merge/lib/mergefcn.js +++ b/lib/node_modules/@stdlib/utils/merge/lib/mergefcn.js @@ -2,7 +2,7 @@ // MODULES // -var isObject = re...
Use utility to test if a value is a plain object
stdlib-js_stdlib
train
js
5700b3702b03a11000a381815460f35907087610
diff --git a/core/ArchiveProcessing.php b/core/ArchiveProcessing.php index <HASH>..<HASH> 100644 --- a/core/ArchiveProcessing.php +++ b/core/ArchiveProcessing.php @@ -994,7 +994,7 @@ abstract class Piwik_ArchiveProcessing public static function isArchivingDisabledFor($segment, $period) { - if($period == '...
Refs #<I> - Piwik_Period's toString method does not return the type of the Period and a "Array to String conversion" notice is triggered. So we use the getLabel accessor.
matomo-org_matomo
train
php
7e7a526c8b6715bbf1a6e5305ce7eca38db84fe8
diff --git a/library/src/main/java/trikita/anvil/Anvil.java b/library/src/main/java/trikita/anvil/Anvil.java index <HASH>..<HASH> 100644 --- a/library/src/main/java/trikita/anvil/Anvil.java +++ b/library/src/main/java/trikita/anvil/Anvil.java @@ -11,6 +11,8 @@ import java.util.Map; import java.util.WeakHashMap; imp...
fixed renderable iteration in Anvil to avoid concurrent modification exceptions
zserge_anvil
train
java
2dd025760ee7cb305a62b3c5122325ea83f2d47b
diff --git a/lib/ooor/relation/finder_methods.rb b/lib/ooor/relation/finder_methods.rb index <HASH>..<HASH> 100644 --- a/lib/ooor/relation/finder_methods.rb +++ b/lib/ooor/relation/finder_methods.rb @@ -35,15 +35,7 @@ module Ooor def find_first_or_last(options, ordering = "ASC") options[:order] ||= ...
major optimization: find_first_or_last now use search_read when using JSRPC transport
akretion_ooor
train
rb
44d97089780424b5b0982dfc59185ce40d33672b
diff --git a/lib/decorate.js b/lib/decorate.js index <HASH>..<HASH> 100644 --- a/lib/decorate.js +++ b/lib/decorate.js @@ -7,7 +7,7 @@ function decorate (callSpec, decorator) { thisObj = callSpec.thisObj, numArgsToCapture = callSpec.numArgsToCapture; - return function () { + return function de...
refactor(empower): name function to make stacktrace a bit clean
twada_empower-core
train
js
103f93c3eb4303d8cf38fe54fe0132668fba4cd2
diff --git a/app/models/glue/pulp/repo.rb b/app/models/glue/pulp/repo.rb index <HASH>..<HASH> 100644 --- a/app/models/glue/pulp/repo.rb +++ b/app/models/glue/pulp/repo.rb @@ -304,7 +304,7 @@ module Glue::Pulp::Repo history = self.sync_status return if history.nil? || history.state == ::PulpSyncStatus::Status:...
sync management - fixing repository cancel
Katello_katello
train
rb
d022abee3896ea86a1b4795949027ce4a9dc0cdb
diff --git a/lib/PHPExif/Mapper/Native.php b/lib/PHPExif/Mapper/Native.php index <HASH>..<HASH> 100644 --- a/lib/PHPExif/Mapper/Native.php +++ b/lib/PHPExif/Mapper/Native.php @@ -225,6 +225,14 @@ class Native implements MapperInterface { $parts = explode('/', $component); - return count($parts) =...
Fixed normalization of zero degrees coordinates in the native mapper
PHPExif_php-exif
train
php
9fedc6635197d8ce3e1abd4a29625163022942da
diff --git a/pefile.py b/pefile.py index <HASH>..<HASH> 100644 --- a/pefile.py +++ b/pefile.py @@ -2279,7 +2279,7 @@ def is_valid_dos_filename(s): # charset we will assume the name is invalid. allowed_function_name = b( - string.ascii_lowercase + string.ascii_uppercase + string.digits + "_?@$()<>" + string.as...
Allow dot in PE symbol name When building with optimization flag enable, it is possible to generate symbol names such as 'PyErr_CheckSignals.part<I>' which contain a dot. Simply add '.' to the allowed_function_name list.
erocarrera_pefile
train
py
7e869ee04f92b4e1deda157735380a6f1f118c76
diff --git a/pyemma/coordinates/clustering/uniform_time.py b/pyemma/coordinates/clustering/uniform_time.py index <HASH>..<HASH> 100644 --- a/pyemma/coordinates/clustering/uniform_time.py +++ b/pyemma/coordinates/clustering/uniform_time.py @@ -82,7 +82,7 @@ class UniformTimeClustering(AbstractClustering): # ran...
[uniform-t-clustering] do not pass kw into iterator
markovmodel_PyEMMA
train
py
d797c7b57f9920730aba3dab1c184b9984db3538
diff --git a/lib/import.js b/lib/import.js index <HASH>..<HASH> 100644 --- a/lib/import.js +++ b/lib/import.js @@ -118,6 +118,12 @@ function importFramework (framework, skip) { */ function resolve (framework) { + debug('resolving framework name or path:', framework) + // strip off a trailing slash if present + ...
Strip a trailing slash from the framework name if present. Fixes #<I>.
TooTallNate_NodObjC
train
js
43db56f1b6059e4800d9b87821e6a14bfe357efc
diff --git a/stun/discover.go b/stun/discover.go index <HASH>..<HASH> 100644 --- a/stun/discover.go +++ b/stun/discover.go @@ -204,15 +204,15 @@ func discover(conn net.PacketConn, addr net.Addr, softwareName string) (NATType, return NAT_FULL, host, nil } + if changeAddr == nil { + return NAT_ERROR, host, errors...
check changed addr first then conn for test1
ccding_go-stun
train
go
a52b61e7c1f5df91bd511ba7d429db0d5acb8eda
diff --git a/src/Events/BaseViewListener.php b/src/Events/BaseViewListener.php index <HASH>..<HASH> 100644 --- a/src/Events/BaseViewListener.php +++ b/src/Events/BaseViewListener.php @@ -186,30 +186,29 @@ abstract class BaseViewListener implements EventListenerInterface { $result = []; - if (!$ev...
always include file associations (task #<I>)
QoboLtd_cakephp-csv-migrations
train
php
a554c9d0ab65d71d535c008d62603d4c1f9b6375
diff --git a/lib/turn/runners/minirunner.rb b/lib/turn/runners/minirunner.rb index <HASH>..<HASH> 100644 --- a/lib/turn/runners/minirunner.rb +++ b/lib/turn/runners/minirunner.rb @@ -66,7 +66,7 @@ module Turn # suites are cases in minitest @turn_case = @turn_suite.new_case(suite.name) - filter = @t...
Use MiniTest's filter option.
turn-project_turn
train
rb
c31ec724c07c4181ec1bbd2a344b23fd6186b3a9
diff --git a/__pkginfo__.py b/__pkginfo__.py index <HASH>..<HASH> 100644 --- a/__pkginfo__.py +++ b/__pkginfo__.py @@ -49,8 +49,8 @@ install_requires = ['columnize >= 0.3.9', 'pygments >= 2.2.0', 'spark_parser >= 1.8.5, <1.9.0', 'tracer >= 0.3.2', ...
Bump xdis and uncompyle6 min versions
rocky_python3-trepan
train
py
c6d6e47d4fa47185cfbf2e24617d79deb04605ce
diff --git a/consumer_test.go b/consumer_test.go index <HASH>..<HASH> 100644 --- a/consumer_test.go +++ b/consumer_test.go @@ -341,11 +341,11 @@ func TestBlueGreenDeployment(t *testing.T) { blue := BlueGreenDeployment{activeTopic, "static", blueGroup} green := BlueGreenDeployment{inactiveTopic, "static", greenGroup...
Increased timeout for blue-green test.
elodina_go_kafka_client
train
go
66c5e19f9bd057644fab475499ea45bb428ba2b2
diff --git a/runtime/graphdriver/devmapper/deviceset.go b/runtime/graphdriver/devmapper/deviceset.go index <HASH>..<HASH> 100644 --- a/runtime/graphdriver/devmapper/deviceset.go +++ b/runtime/graphdriver/devmapper/deviceset.go @@ -821,6 +821,10 @@ func (devices *DeviceSet) Shutdown() error { info.lock.Unlock() } ...
devmapper: Ensure we shut down thin pool cleanly. The change in commit a9fa1a<I>c3b0a<I>a<I>be<I>ff7ec<I>e<I>b<I> made us only deactivate devices that were mounted. Unfortunately this made us not deactivate the base device. Which caused us to not be able to deactivate the pool. This fixes that by always just deactiva...
moby_moby
train
go
8d2054411cfc7a6265dc73ad78bce71fbda3c36b
diff --git a/question/type/questiontype.php b/question/type/questiontype.php index <HASH>..<HASH> 100644 --- a/question/type/questiontype.php +++ b/question/type/questiontype.php @@ -9,10 +9,11 @@ * {@link http://maths.york.ac.uk/serving_maths} * @license http://www.gnu.org/copyleft/gpl.html GNU Public Licens...
Tweak to unbreak unit tests.
moodle_moodle
train
php
92a456cc25b5a65b4a8be7f6ac96474544d87806
diff --git a/cmd2.py b/cmd2.py index <HASH>..<HASH> 100755 --- a/cmd2.py +++ b/cmd2.py @@ -141,7 +141,7 @@ def options(option_list): arg = newArgs result = func(instance, arg, opts) return result - newFunc.__doc__ = '%s\n%s' % (func._...
oops, had to fix a reference to newFunc
python-cmd2_cmd2
train
py
19b9cc473d6deb1826ffa33b5c3194d1d442b50f
diff --git a/lib/codemirror.js b/lib/codemirror.js index <HASH>..<HASH> 100644 --- a/lib/codemirror.js +++ b/lib/codemirror.js @@ -23,7 +23,7 @@ window.CodeMirror = (function() { replaceSelection: operation(replaceSelection), focus: function(){window.focus(); focusInput(); onFocus(); fastPoll();}, ...
Always force a re-highlight when the 'mode' option is set Closes #<I>
codemirror_CodeMirror
train
js
1fc945f6c80fee684d36e008e36eb11b333f0bbb
diff --git a/sos/report/reporting.py b/sos/report/reporting.py index <HASH>..<HASH> 100644 --- a/sos/report/reporting.py +++ b/sos/report/reporting.py @@ -191,7 +191,10 @@ class PlainTextReport(object): def process_subsection(self, section, key, header, format_, footer): if key in section: se...
[reporting] Sort order of report contents by name When using `reporting.py`, e.g. for `sos.txt`, sort the content on a per-section basis so that comparison between multiple sos reports is easier. Closes: #<I> Resolves: #<I>
sosreport_sos
train
py
4a762767af6c6f05b7af7989389f13a840f6a895
diff --git a/src/Shell/ImportShell.php b/src/Shell/ImportShell.php index <HASH>..<HASH> 100644 --- a/src/Shell/ImportShell.php +++ b/src/Shell/ImportShell.php @@ -74,8 +74,6 @@ class ImportShell extends Shell $this->hr(); $this->info('Preparing records ..'); - // skip if failed to...
Generate import results during data imports (task #<I>)
QoboLtd_cakephp-csv-migrations
train
php
1db9d608b85ad474afb356ef4781e5f8c74d1981
diff --git a/src/android/CropPlugin.java b/src/android/CropPlugin.java index <HASH>..<HASH> 100644 --- a/src/android/CropPlugin.java +++ b/src/android/CropPlugin.java @@ -27,7 +27,7 @@ public class CropPlugin extends CordovaPlugin { String imagePath = args.getString(0); this.inputUri = Uri.parse...
Fixes #<I> - File was overwritten in temporary path (#<I>)
jeduan_cordova-plugin-crop
train
java
2be4a2f8af40b71b73ab8363ef13c9336097b5dd
diff --git a/docs/source/conf.py b/docs/source/conf.py index <HASH>..<HASH> 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -1,3 +1,18 @@ +# Copyright 2017 Intel Corporation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the Lic...
Add license to docs conf.py
hyperledger_sawtooth-core
train
py
e9773931ac1d1f494ddf5f4e75ebf8a4930509e4
diff --git a/multiqc/modules/bcl2fastq/bcl2fastq.py b/multiqc/modules/bcl2fastq/bcl2fastq.py index <HASH>..<HASH> 100644 --- a/multiqc/modules/bcl2fastq/bcl2fastq.py +++ b/multiqc/modules/bcl2fastq/bcl2fastq.py @@ -83,6 +83,8 @@ class MultiqcModule(BaseMultiqcModule): run_data[lane] = {"total": 0, "perfect...
Add warning for duplicate runID/lane/sample combination
ewels_MultiQC
train
py
2eb23dfef0184a0c6abb13faf4dfc5867bc6a271
diff --git a/lib/logger.js b/lib/logger.js index <HASH>..<HASH> 100644 --- a/lib/logger.js +++ b/lib/logger.js @@ -34,15 +34,9 @@ Logger.prototype = { }, log: function(message) { var timestamp = '[' + this.getTimestamp() + ']'; - message = message.split('\n'); - if (message.length == 1) { - this.s...
Output timestamp for all lines
groonga_gcs
train
js
6c694c1a9735bb182b9bdcfc43cc4c0b97a64d6e
diff --git a/App/Ui/DataProvider/Grid/Query/Builder.php b/App/Ui/DataProvider/Grid/Query/Builder.php index <HASH>..<HASH> 100644 --- a/App/Ui/DataProvider/Grid/Query/Builder.php +++ b/App/Ui/DataProvider/Grid/Query/Builder.php @@ -56,7 +56,9 @@ abstract class Builder /* limit pages */ $pageSize = $sea...
MOBI-<I> PV transfers batch upload
praxigento_mobi_mod_core
train
php
4ddd22c9c98aa576e176b3a062cf6a2a5a9ab7a1
diff --git a/test/e2e/windows/dns.go b/test/e2e/windows/dns.go index <HASH>..<HASH> 100644 --- a/test/e2e/windows/dns.go +++ b/test/e2e/windows/dns.go @@ -30,7 +30,7 @@ import ( "github.com/onsi/ginkgo" ) -var _ = SIGDescribe("DNS", func() { +var _ = SIGDescribe("[Feature:Windows] DNS", func() { ginkgo.BeforeE...
adding windows os selector to the dnsPolicy tests adding a feature selector to the windows Describe dns test
kubernetes_kubernetes
train
go
755484c4bc4701d181ffd69ee02d41e916e6f471
diff --git a/src/Services/Air/AirParser.js b/src/Services/Air/AirParser.js index <HASH>..<HASH> 100644 --- a/src/Services/Air/AirParser.js +++ b/src/Services/Air/AirParser.js @@ -779,10 +779,10 @@ function importRequest(data) { function extractFareRules(obj) { const rulesList = obj['air:FareRule']; - _.forEach(r...
#<I> rewrite parser without lodash
Travelport-Ukraine_uapi-json
train
js
8ad1dbdf1fbf34116b66d7f9a15aafa79d987d18
diff --git a/hap.conf.js b/hap.conf.js index <HASH>..<HASH> 100644 --- a/hap.conf.js +++ b/hap.conf.js @@ -10,6 +10,11 @@ module.exports = function(config) { basePath: '', browserNoActivityTimeout: 100000, + browserConsoleLogOptions: { + level: 'log', + format: '%b %T: %m', + terminal: tru...
Enable console.log output in karma logs
hola_hap.js
train
js
4e762ae41f24a51640163f43b80fc61db31d5102
diff --git a/lib/nucleon/action/node/facts.rb b/lib/nucleon/action/node/facts.rb index <HASH>..<HASH> 100644 --- a/lib/nucleon/action/node/facts.rb +++ b/lib/nucleon/action/node/facts.rb @@ -11,13 +11,6 @@ class Facts < CORL.plugin_class(:nucleon, :cloud_action) super(:node, :facts, 570) end - #---- - - ...
Reworking the node facts action provider to work with updated lookup architecture.
coralnexus_corl
train
rb
c57a1bdb2d4471af543399f46d344802986c6cd9
diff --git a/handler/src/main/java/io/netty/handler/ssl/OpenSsl.java b/handler/src/main/java/io/netty/handler/ssl/OpenSsl.java index <HASH>..<HASH> 100644 --- a/handler/src/main/java/io/netty/handler/ssl/OpenSsl.java +++ b/handler/src/main/java/io/netty/handler/ssl/OpenSsl.java @@ -112,6 +112,8 @@ public final class Op...
Log used native library by netty-tcnative Motivation: As netty-tcnative can be build against different native libraries and versions we should log the used one. Modifications: Log the used native library after netty-tcnative was loaded. Result: Easier to understand what native SSL library was used.
netty_netty
train
java
a4367afb18fbe138cbaecaf328b36fd67fdcfcd4
diff --git a/spec/acceptance/examples_spec.rb b/spec/acceptance/examples_spec.rb index <HASH>..<HASH> 100644 --- a/spec/acceptance/examples_spec.rb +++ b/spec/acceptance/examples_spec.rb @@ -11,7 +11,7 @@ describe "Regression on" do gsub('example/','example/output/') end - it "runs succes...
. only run examples on <I> as part of the spec Output of <I> and <I> differs largely. <I> will have to be verified manually.
kschiess_parslet
train
rb
14f04834e0bde13913afde1b25a4cb428b532ca6
diff --git a/casper.js b/casper.js index <HASH>..<HASH> 100644 --- a/casper.js +++ b/casper.js @@ -536,7 +536,7 @@ utils: encodeURIComponent(phantom.Casper.ClientUtils.toString()) })); if (!injected) { - casper.log('Failed to inject Casper client-side utilities!...
log message when failed injecting client-side utils raised to 'warning'
casperjs_casperjs
train
js
031619776cf5b1e0713d647c5a843efc772bd0dc
diff --git a/pkg/cache/resource.go b/pkg/cache/resource.go index <HASH>..<HASH> 100644 --- a/pkg/cache/resource.go +++ b/pkg/cache/resource.go @@ -30,6 +30,7 @@ type Resource interface { // Common names for Envoy filters. const ( + CORS = "envoy.cors" Router = "envoy.router" HTTP...
Add CORS filter string (#<I>)
envoyproxy_go-control-plane
train
go
190a0a4ce812bad91e185d3c1f332344ced442a6
diff --git a/fixtures/go-server/server.go b/fixtures/go-server/server.go index <HASH>..<HASH> 100644 --- a/fixtures/go-server/server.go +++ b/fixtures/go-server/server.go @@ -1,6 +1,7 @@ package main import ( + "flag" "fmt" "io/ioutil" "net/http" @@ -10,6 +11,11 @@ import ( "syscall" ) +var ( + memoryAll...
add a flag to cause the go-server to consume constant amount of memory
cloudfoundry_inigo
train
go
2ae28bd74def24b71e04133246c190ed35fbdf3e
diff --git a/src/main/java/net/openhft/chronicle/network/WanSimulator.java b/src/main/java/net/openhft/chronicle/network/WanSimulator.java index <HASH>..<HASH> 100755 --- a/src/main/java/net/openhft/chronicle/network/WanSimulator.java +++ b/src/main/java/net/openhft/chronicle/network/WanSimulator.java @@ -2,6 +2,8 @@ p...
Add a wan simulator to reproduce timing sensitive issues with a random <I> ms delay.
OpenHFT_Chronicle-Network
train
java
e1b969c3623533dfaab12c48f22e6057315e0949
diff --git a/core/Plugin/Manager.php b/core/Plugin/Manager.php index <HASH>..<HASH> 100644 --- a/core/Plugin/Manager.php +++ b/core/Plugin/Manager.php @@ -66,8 +66,11 @@ class Manager extends Singleton 'AnonymizeIP', 'DBStats', 'DevicesDetection', -// 'Events', - 'TreemapVisuali...
refs #<I> mark does plugins as core plugins
matomo-org_matomo
train
php
c9b3eb13effbfe6d36448d691923e79598f42dea
diff --git a/molmod/molecular_graphs.py b/molmod/molecular_graphs.py index <HASH>..<HASH> 100644 --- a/molmod/molecular_graphs.py +++ b/molmod/molecular_graphs.py @@ -165,7 +165,7 @@ class MolecularGraph(Graph): # actual removal edges = [edges[i] for i in range(len(edges)) if mask[i]] if do_o...
Fixed small bug in (bond) orders attribute assignation
molmod_molmod
train
py
4625881c54d256e6fae17c906fae3a076ca1c527
diff --git a/src/structures/MessageEmbed.js b/src/structures/MessageEmbed.js index <HASH>..<HASH> 100644 --- a/src/structures/MessageEmbed.js +++ b/src/structures/MessageEmbed.js @@ -7,6 +7,13 @@ const Util = require('../util/Util'); * Represents an embed in a message (image/video preview, rich embed, etc.) */ cla...
docs(MessageEmbed): document the constructor (#<I>)
discordjs_discord.js
train
js
edd14db9644929ea904b20350f13fb064e1a4c22
diff --git a/addon/components/ember-remodal.js b/addon/components/ember-remodal.js index <HASH>..<HASH> 100644 --- a/addon/components/ember-remodal.js +++ b/addon/components/ember-remodal.js @@ -53,6 +53,7 @@ export default Component.extend({ }, willDestroy() { + scheduleOnce('destroy', this, '_destroyDomEle...
call remodal's native destroy on willDestroyElement without calling remodal’s native `destroy()`, the dom elements that it creates are left around after the `ember-remodal` component instance has been destroyed, resulting in a resource leak. Closes #<I>
sethbrasile_ember-remodal
train
js
e8dc4628ae09382288d60a0de922cf82dfc0080b
diff --git a/lib/6to5/generation/generators/statements.js b/lib/6to5/generation/generators/statements.js index <HASH>..<HASH> 100644 --- a/lib/6to5/generation/generators/statements.js +++ b/lib/6to5/generation/generators/statements.js @@ -23,7 +23,11 @@ exports.IfStatement = function (node, print) { if (node.alterna...
better handle spaces in IfStatement generator
babel_babel
train
js
60995e57bc9e1b417693231f1818faf80feff641
diff --git a/src/es5.js b/src/es5.js index <HASH>..<HASH> 100644 --- a/src/es5.js +++ b/src/es5.js @@ -19,7 +19,7 @@ else { var str = {}.toString; var proto = {}.constructor.prototype; - function ObjectKeys(o) { + var ObjectKeys = function ObjectKeys(o) { var ret = []; for (var key i...
Change function defs to variable defs in block scope. Function definitions in blocks cause chrome to throw syntax error in strict mode.
petkaantonov_bluebird
train
js
737afbd9e7ea548d478cf4eacc76c11224030b5b
diff --git a/Kwc/User/Login/Form/Success/Component.js b/Kwc/User/Login/Form/Success/Component.js index <HASH>..<HASH> 100644 --- a/Kwc/User/Login/Form/Success/Component.js +++ b/Kwc/User/Login/Form/Success/Component.js @@ -1,6 +1,6 @@ var onReady = require('kwf/on-ready'); -onReady.onShow('.kwcUserLoginFormSuccess',...
fixed redirect after login, onReady has to use kwcClass to find correct element
koala-framework_koala-framework
train
js
b465ccc9b26bdf6f06cfc3f72df2cbdb01c597e4
diff --git a/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/taskapp/celery.py b/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/taskapp/celery.py index <HASH>..<HASH> 100644 --- a/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/taskapp/celery.py +++ b/{{cookiecutter.repo_name}}/{{cookiecutter.repo_na...
fix sentry logging in conjunction with celery
pydanny_cookiecutter-django
train
py
05a6f2d57fdd82748b595ce615ad69e9beddd144
diff --git a/tests/test_chain.py b/tests/test_chain.py index <HASH>..<HASH> 100644 --- a/tests/test_chain.py +++ b/tests/test_chain.py @@ -403,8 +403,7 @@ def test_invalid_transaction(): blk = mine_next_block(blk, transactions=[tx]) assert blk.get_balance(v) == 0 assert blk.get_balance(v2) == utils.denom...
invalid tx must not be included in block
ethereum_pyethereum
train
py
73615e57787a98ccb39d2781348b991ce8d4443d
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -28,7 +28,8 @@ rules_lib = ('rules_py', rules = Extension('rules', sources = ['src/rulespy/rules.c'], - include_dirs=['src/rules']) + include_dirs=['src/rules'], + ...
python build for POSIX
jruizgit_rules
train
py
18033addc2515dc9f87ea069a69c6a6f5de8d4ea
diff --git a/mongo_import.py b/mongo_import.py index <HASH>..<HASH> 100755 --- a/mongo_import.py +++ b/mongo_import.py @@ -571,7 +571,7 @@ def insert_infocontent_data(germanet_db): # Although Resnik (1995) suggests dividing count by the number # of synsets, Patwardhan et al (2003) argue against doing ...
mongo_import: revert to resnik's method for information content
wroberts_pygermanet
train
py
56a721f05941d65c20a3f1768f28aebad7e098a0
diff --git a/umbra/controller.py b/umbra/controller.py index <HASH>..<HASH> 100644 --- a/umbra/controller.py +++ b/umbra/controller.py @@ -138,8 +138,9 @@ class AmqpBrowserController: self.logger.info('browser={} client_id={} url={}'.format(browser, client_id, url)) try: brows...
dump stack trace and don't return browser to pool on critical error where chrome process might still be running
internetarchive_brozzler
train
py