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
ab6f3089f667f38172d9b45936206f0b4bc6f215
diff --git a/server.go b/server.go index <HASH>..<HASH> 100644 --- a/server.go +++ b/server.go @@ -1651,6 +1651,12 @@ func (s *server) handleAddPeerMsg(state *peerState, sp *serverPeer) bool { } } + // Update the address' last seen time if the peer has acknowledged + // our version and has sent us its version as...
server: mark address as connected within handleAddPeerMsg We do this to ensure the address manager contains live addresses. Previously, addresses with which we established connections with would not be marked as connected because it would be done once we disconnect peers. Given that we don't process all of the disconn...
btcsuite_btcd
train
go
38386e39109c2cd13aae19a7c4f3baa2b7899a63
diff --git a/core/src/main/java/com/orientechnologies/orient/core/fetch/OFetchHelper.java b/core/src/main/java/com/orientechnologies/orient/core/fetch/OFetchHelper.java index <HASH>..<HASH> 100644 --- a/core/src/main/java/com/orientechnologies/orient/core/fetch/OFetchHelper.java +++ b/core/src/main/java/com/orientechno...
Patch by Luca Molino for the issue <I> and <I>
orientechnologies_orientdb
train
java
d10722981377c133e832363733778e7d97fd5079
diff --git a/mbed/mbed.py b/mbed/mbed.py index <HASH>..<HASH> 100644 --- a/mbed/mbed.py +++ b/mbed/mbed.py @@ -1323,6 +1323,11 @@ def sync(recursive=True, keep_refs=False, top=True): with cd(lib.path): sync(keep_refs=keep_refs, top=False) + # Update the .lib reference in the p...
Update the .lib reference in the parent repository when updating libraries
ARMmbed_mbed-cli
train
py
6eb42aec0aff5ec55ecf74a75cd943795ff4ae97
diff --git a/channeldb/payments.go b/channeldb/payments.go index <HASH>..<HASH> 100644 --- a/channeldb/payments.go +++ b/channeldb/payments.go @@ -694,7 +694,7 @@ func (db *DB) DeletePayments(failedOnly bool) error { deleteIndexes [][]byte ) err := payments.ForEach(func(k, _ []byte) error { - bucket := paym...
channeldb/payments: use only Read bucket when iterating
lightningnetwork_lnd
train
go
41ed9dec96769fa0f9bde5e2dd09d1e8767d6475
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -30,7 +30,11 @@ INSTALL_REQUIRES = ( 'pywinrm', ) -TEST_REQUIRES = ( +ANSIBLE_REQUIRES = ( # extras for parsing Ansible inventory + 'pyyaml', +) + +TEST_REQUIRES = ANSIBLE_REQUIRES + ( # Unit testing 'pyt...
Include Ansible extras in test requirements.
Fizzadar_pyinfra
train
py
dfeea240ff5091a8457ae82858d97fbd50fa83b5
diff --git a/test/extended/controller_manager/pull_secret.go b/test/extended/controller_manager/pull_secret.go index <HASH>..<HASH> 100644 --- a/test/extended/controller_manager/pull_secret.go +++ b/test/extended/controller_manager/pull_secret.go @@ -178,7 +178,7 @@ var _ = g.Describe("[Feature:OpenShiftControllerManag...
Bug <I>: Increase timeout for Dockercfg tests Increase to <I> minutes to cover full relist window.
openshift_origin
train
go
50aaa4b0e9adbd5ada2b735f47e0b4816a884da2
diff --git a/coursera/coursera_dl.py b/coursera/coursera_dl.py index <HASH>..<HASH> 100755 --- a/coursera/coursera_dl.py +++ b/coursera/coursera_dl.py @@ -388,7 +388,7 @@ def download_lectures(downloader, last_update = max(last_update, os.path.getmtime(lecfn)) # after fetchin...
coursera: Remove superfluous comparison with True.
coursera-dl_coursera-dl
train
py
4c229542df9b91226312f662d41ae8da9f7262ce
diff --git a/test/test-build-pack.js b/test/test-build-pack.js index <HASH>..<HASH> 100644 --- a/test/test-build-pack.js +++ b/test/test-build-pack.js @@ -3,7 +3,7 @@ require('./build-example')(['--install', '-p'], function(er) { assert.ifError(er); assert(test('-d', 'node_modules')); var info = require(path.r...
test: sls-sample-app loopback-example-app rename Update refrence to match upstream example app's name change.
strongloop_strong-build
train
js
e7181f03a46f0370051ff90e1b8ce38eb541be03
diff --git a/gcimagebundle/gcimagebundlelib/block_disk.py b/gcimagebundle/gcimagebundlelib/block_disk.py index <HASH>..<HASH> 100644 --- a/gcimagebundle/gcimagebundlelib/block_disk.py +++ b/gcimagebundle/gcimagebundlelib/block_disk.py @@ -90,7 +90,10 @@ class FsRawDisk(fs_copy.FsCopy): # Verify there is only 1 par...
Update block_disk.py in case you specify gcimagebundle -d /dev/sda1 the message is not leading you to specify a disk, it makes you confused about why a single partition is not a single partition
GoogleCloudPlatform_compute-image-packages
train
py
a7bf5b6d00b901e460a4dd3d9d9640b1e42c79cd
diff --git a/ipyrad/assemble/write_outputs.py b/ipyrad/assemble/write_outputs.py index <HASH>..<HASH> 100644 --- a/ipyrad/assemble/write_outputs.py +++ b/ipyrad/assemble/write_outputs.py @@ -154,6 +154,10 @@ class Step7: def setup_dirs(self): "Create temp h5 db for storing filters and depth variants" + ...
clear old outfiles dict on new s7 run
dereneaton_ipyrad
train
py
0ca10ee4a5ea06ad57c1e6059bce59330f398042
diff --git a/build/Gruntfile.js b/build/Gruntfile.js index <HASH>..<HASH> 100644 --- a/build/Gruntfile.js +++ b/build/Gruntfile.js @@ -24,6 +24,9 @@ module.exports = function (grunt) { "DEBUG": false } }, + mangle: { + except: getExclusions() + } }, build: { fi...
Updated uglify code to leave constructor names alone.
CreateJS_TweenJS
train
js
52510e7a89f41c19e213282353b3cf4f7e7e13ee
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -53,7 +53,7 @@ with VenvLinkDeleted(): version=project.get_version(), description=project.__doc__, long_description=read('README.rst'), - author='Francesco Banconi', + author='Oleksandr...
zip_safe=False flag needs to be set
shtalinberg_django-el-pagination
train
py
46cc9ccda6e2dcc67f48f82812d84011a106b1d3
diff --git a/doc/generator/processFile.js b/doc/generator/processFile.js index <HASH>..<HASH> 100644 --- a/doc/generator/processFile.js +++ b/doc/generator/processFile.js @@ -95,7 +95,25 @@ function convertEntities(module, exportedEntities) { function convertFunction(entity, node) { node.type = "function"; ...
Extract doc for method params and return value.
substance_substance
train
js
560124c96845e47ba4f3e1904a87772c69ba5f3e
diff --git a/lib/Doctrine/Common/Cache/FileCache.php b/lib/Doctrine/Common/Cache/FileCache.php index <HASH>..<HASH> 100644 --- a/lib/Doctrine/Common/Cache/FileCache.php +++ b/lib/Doctrine/Common/Cache/FileCache.php @@ -137,10 +137,11 @@ abstract class FileCache extends CacheProvider if ( '' === $i...
Path length of <I> is also not possible due to php bug
doctrine_cache
train
php
4aa10a0e5345043ce2e3cc623f72a3537cc982d8
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -22,7 +22,7 @@ readme = read('README.rst') VERSION = find_version('ignite', '__init__.py') -requirements = ['enum34', 'torch'] +requirements = ['enum34;python_version<"3.4"', 'torch'] setup( # Metadata @@ -36,7 +3...
Avoid to install tests with the package, add condition to install enum<I> (#<I>)
pytorch_ignite
train
py
5d73859cbf0b7d7a3414b91ed731c05eaa210b0c
diff --git a/Swat/SwatContainer.php b/Swat/SwatContainer.php index <HASH>..<HASH> 100644 --- a/Swat/SwatContainer.php +++ b/Swat/SwatContainer.php @@ -422,21 +422,6 @@ class SwatContainer extends SwatWidget implements SwatUIParent } // }}} - // {{{ protected function displayChildren() - - /** - * Displays the ch...
protected after public svn commit r<I>
silverorange_swat
train
php
f8fadc841c88a8791f7cda675608c91200d01e82
diff --git a/index.js b/index.js index <HASH>..<HASH> 100755 --- a/index.js +++ b/index.js @@ -15,6 +15,11 @@ module.exports = function (options) { return cb(null, file); } + var data = options.data || {}; + if (file.data) { + data = file.data; + } + if (fi...
Add compatibility with gulp-data Allow gulp-data to pass in data attribute via file.data
zimmen_gulp-twig
train
js
0ec592a70d173f5585dbaa22306abbf496a99995
diff --git a/app/Fact.php b/app/Fact.php index <HASH>..<HASH> 100644 --- a/app/Fact.php +++ b/app/Fact.php @@ -283,7 +283,7 @@ class Fact return $gedcom_service->readLatitude($match[1]); } - return 0.0; + return null; } /** @@ -299,7 +299,7 @@ class Fact re...
Missed in recent changes (#<I>)
fisharebest_webtrees
train
php
c982e42191fd1115d41a00d42061319af710ea50
diff --git a/lib/rfm/server.rb b/lib/rfm/server.rb index <HASH>..<HASH> 100644 --- a/lib/rfm/server.rb +++ b/lib/rfm/server.rb @@ -208,7 +208,8 @@ module Rfm :log_actions => nil, :log_responses => nil, :warn_on_redirect => true, - :raise_on_401 => nil + :raise_on_401 => nil, + ...
Made server timeout modifiable in initialization of Server Credit to Timothy Ting
lardawge_rfm
train
rb
74961ebe9963670aeaf439d181f098d9555e74d5
diff --git a/TYPO3.Flow/Classes/TYPO3/Flow/Cache/Backend/PdoBackend.php b/TYPO3.Flow/Classes/TYPO3/Flow/Cache/Backend/PdoBackend.php index <HASH>..<HASH> 100644 --- a/TYPO3.Flow/Classes/TYPO3/Flow/Cache/Backend/PdoBackend.php +++ b/TYPO3.Flow/Classes/TYPO3/Flow/Cache/Backend/PdoBackend.php @@ -158,7 +158,7 @@ class Pdo...
[CLEANUP] make PdoBackend PSR-2 compatible
neos_flow-development-collection
train
php
daf15f58b943d85d8fb726590ae94f77ca0a5d5f
diff --git a/activerecord/test/cases/locking_test.rb b/activerecord/test/cases/locking_test.rb index <HASH>..<HASH> 100644 --- a/activerecord/test/cases/locking_test.rb +++ b/activerecord/test/cases/locking_test.rb @@ -406,7 +406,7 @@ class OptimisticLockingTest < ActiveRecord::TestCase assert_equal 0, car.lock_ve...
Fix `test_counter_cache_with_touch_and_lock_version` failure Looks like it is failed due to datetime rounding. Related #<I>. <URL>
rails_rails
train
rb
9d636a4b721df9bb5e90f73659f8700402e77021
diff --git a/src/dolo/numeric/smolyak.py b/src/dolo/numeric/smolyak.py index <HASH>..<HASH> 100644 --- a/src/dolo/numeric/smolyak.py +++ b/src/dolo/numeric/smolyak.py @@ -292,7 +292,7 @@ if __name__ == '__main__': sg2 = SmolyakGrid(bounds, 2) sg3 = SmolyakGrid(bounds, 3) - from serial_operations import n...
Reverted to old import in test for smolyak.
EconForge_dolo
train
py
2745ae5206ef18cf60452253119bf95e446ce4a6
diff --git a/lib/pork.rb b/lib/pork.rb index <HASH>..<HASH> 100644 --- a/lib/pork.rb +++ b/lib/pork.rb @@ -16,6 +16,7 @@ module Pork def self.reset ; @stats = nil ; end def self.report; stats.report; reset ; end def self.report_at_exit + Pork.stats.start @report_at_exit ||= at_exit do sta...
so that we have a bit of performance boost and makes a single would work
godfat_pork
train
rb
97ac9457a57804bfeb5e773670973bce45324b25
diff --git a/Makefile b/Makefile index <HASH>..<HASH> 100644 --- a/Makefile +++ b/Makefile @@ -4,4 +4,5 @@ test: $(SRC) @node node_modules/.bin/jshint $^ @node node_modules/.bin/istanbul test node_modules/.bin/_mocha \ -R spec -- \ + --require should \ --reporter spec diff --git a/spec/http-spec.js b/spec/http-...
Updated to use mocha's require.
fiveisprime_iron-cache
train
Makefile,js,js
a003c7059eb59a6f6db77a9c01ee72698a1cf797
diff --git a/lib/slimmer/shared_templates.rb b/lib/slimmer/shared_templates.rb index <HASH>..<HASH> 100644 --- a/lib/slimmer/shared_templates.rb +++ b/lib/slimmer/shared_templates.rb @@ -1,7 +1,7 @@ module Slimmer module SharedTemplates def self.included into - into.before_filter :add_shared_templates + ...
Replace deprecated `before_filter` calls `before_filter` is deprecated and will be removed in Rails <I>.
alphagov_slimmer
train
rb
7b9b8765b612df9f308fdd8cd7f75093d7494d67
diff --git a/eZ/Publish/Core/REST/Server/Controller/ContentType.php b/eZ/Publish/Core/REST/Server/Controller/ContentType.php index <HASH>..<HASH> 100644 --- a/eZ/Publish/Core/REST/Server/Controller/ContentType.php +++ b/eZ/Publish/Core/REST/Server/Controller/ContentType.php @@ -154,6 +154,22 @@ class ContentType extend...
Implemented: loading ContentTypeGroup by identifier
ezsystems_ezpublish-kernel
train
php
b115767785dc77ca7be52b02a0eeeecaf94b77a5
diff --git a/rack-protection/lib/rack/protection/version.rb b/rack-protection/lib/rack/protection/version.rb index <HASH>..<HASH> 100644 --- a/rack-protection/lib/rack/protection/version.rb +++ b/rack-protection/lib/rack/protection/version.rb @@ -1,5 +1,5 @@ module Rack module Protection - VERSION = ::Sinatra::V...
Hard-code rack-protection version until we can generate it I want them to be the same as Sinatra, but since r-p doesn't (and won't) depend on Sinatra we can't use the `VERSION` constant here at runtime. Closes #<I>
sinatra_sinatra
train
rb
605e2f77e1dd404866ba569609806ded0af752cd
diff --git a/src/HTMLTag.php b/src/HTMLTag.php index <HASH>..<HASH> 100644 --- a/src/HTMLTag.php +++ b/src/HTMLTag.php @@ -290,7 +290,7 @@ class HTMLTag { } elseif(is_string($element)) { - $innerHTML .= "\n" . $this->tagPrefix() . $this->tagPrefixPre...
indentation now applies to multi-line strings
Gercoli_HTMLTags
train
php
80689812e7ef3e8ed7bb6f66a385967e80d78750
diff --git a/lib/passport/middleware/authenticate.js b/lib/passport/middleware/authenticate.js index <HASH>..<HASH> 100644 --- a/lib/passport/middleware/authenticate.js +++ b/lib/passport/middleware/authenticate.js @@ -54,7 +54,7 @@ var http = require('http') * @api public */ module.exports = function authenticate...
Simplify polymorphic check.
jaredhanson_passport
train
js
51e8ef34cb52a575f4b587c9449fcd1da9415109
diff --git a/lib/step.js b/lib/step.js index <HASH>..<HASH> 100644 --- a/lib/step.js +++ b/lib/step.js @@ -154,8 +154,11 @@ function detectMetaStep(stack) { if (isTest(line) || isBDD(line)) break; const fnName = line.match(/^at (\w+)\.(\w+)\s\(/); if (!fnName) continue; - if (fnName[1] === 'Generator'...
fix: skip Runner to detect MetaStep (#<I>)
Codeception_CodeceptJS
train
js
8cdcc266218143c122ffa013ce42f7db367ae2a0
diff --git a/src/Exception/ProgramExecutionException.php b/src/Exception/ProgramExecutionException.php index <HASH>..<HASH> 100644 --- a/src/Exception/ProgramExecutionException.php +++ b/src/Exception/ProgramExecutionException.php @@ -34,9 +34,9 @@ class ProgramExecutionException extends \RuntimeException /** * ...
Fixed issues found by Scrutinizer.
SetBased_php-helper-program-execution
train
php
8bde08747ce4436a68b25dca94443089ffe25ae3
diff --git a/lib/perfectqueue/worker.rb b/lib/perfectqueue/worker.rb index <HASH>..<HASH> 100644 --- a/lib/perfectqueue/worker.rb +++ b/lib/perfectqueue/worker.rb @@ -26,7 +26,6 @@ class MonitorThread end def start - @log.debug "running worker." @thread = Thread.new(&method(:run)) end @@ -153,30 +1...
don't stop MonitorThread while waiting shutting down of Workers 2
treasure-data_perfectqueue
train
rb
ff9b5dac4110e90325fe920484f6def9fdc1b889
diff --git a/src/core_plugin.js b/src/core_plugin.js index <HASH>..<HASH> 100644 --- a/src/core_plugin.js +++ b/src/core_plugin.js @@ -41,11 +41,11 @@ // Protected, don't access directly _list: null, _items: null, - _target: null, - _first: null, - ...
Ensure item selections are always a jQuery object
jsor_jcarousel
train
js
346749e1ef352118b0aba4609f7a871eee641c4b
diff --git a/iotilecore/iotile/core/utilities/linebuffer_ui.py b/iotilecore/iotile/core/utilities/linebuffer_ui.py index <HASH>..<HASH> 100644 --- a/iotilecore/iotile/core/utilities/linebuffer_ui.py +++ b/iotilecore/iotile/core/utilities/linebuffer_ui.py @@ -65,7 +65,7 @@ class LinebufferUI: from asciimati...
Fix typo in LinebufferUI error suggestion (#<I>)
iotile_coretools
train
py
4af7221ad4fc9daa766a5526765694d5994fc5f6
diff --git a/src/server/utils/security.js b/src/server/utils/security.js index <HASH>..<HASH> 100644 --- a/src/server/utils/security.js +++ b/src/server/utils/security.js @@ -1,4 +1,4 @@ -import getAttr from 'lodash'; +import getAttr from 'lodash/get'; import crypto from 'crypto'; import jsonwebtoken from 'jsonwebtok...
Fix import We weren't importing get and instead we were importing all of lodash.
storyforj_fervor
train
js
743547fc3bbe6dd68a2df3af46cf8c604458f6b0
diff --git a/sql/src/main/java/org/apache/druid/sql/http/SqlResource.java b/sql/src/main/java/org/apache/druid/sql/http/SqlResource.java index <HASH>..<HASH> 100644 --- a/sql/src/main/java/org/apache/druid/sql/http/SqlResource.java +++ b/sql/src/main/java/org/apache/druid/sql/http/SqlResource.java @@ -29,6 +29,7 @@ imp...
Unauthorized sql request should return <I> (#<I>)
apache_incubator-druid
train
java
140a294b165cac79906050893b1e2995575641b1
diff --git a/ghost/admin/app/helpers/event-name.js b/ghost/admin/app/helpers/event-name.js index <HASH>..<HASH> 100644 --- a/ghost/admin/app/helpers/event-name.js +++ b/ghost/admin/app/helpers/event-name.js @@ -17,7 +17,7 @@ export const AVAILABLE_EVENTS = [ // GROUPNAME: Pages {event: 'page.added', name: 'Pa...
Fixed typo in page updated webhook event name (#<I>)
TryGhost_Ghost
train
js
ba491708737fd263b055821b922909c847617680
diff --git a/sdl/pixels.go b/sdl/pixels.go index <HASH>..<HASH> 100644 --- a/sdl/pixels.go +++ b/sdl/pixels.go @@ -54,6 +54,25 @@ func (c Color) Uint32() uint32 { return v } +// RGBA returns the alpha-premultiplied red, green, blue and alpha values +// for the color. Each value ranges within [0, 0xffff], but is re...
Implement standard library Color interface (#<I>) * Implement standard library Color interface * Add comment for Color.RGBA * Fix method signature
veandco_go-sdl2
train
go
7993253aaf013e6a1794c30285b453257f614497
diff --git a/visidata/save.py b/visidata/save.py index <HASH>..<HASH> 100644 --- a/visidata/save.py +++ b/visidata/save.py @@ -109,16 +109,10 @@ def saveSheets(vd, givenpath, *vsheets, confirm_overwrite=False): savefunc = getattr(vsheets[0], 'save_' + filetype, None) or getattr(vd, 'save_' + filetype, None) - ...
[save] do not save unknown filetype as save_filetype
saulpw_visidata
train
py
2c967847923e93f66c40b9d3def796f64189ca60
diff --git a/src/rez/tests/test_release.py b/src/rez/tests/test_release.py index <HASH>..<HASH> 100644 --- a/src/rez/tests/test_release.py +++ b/src/rez/tests/test_release.py @@ -165,6 +165,8 @@ class TestRelease(TestBase, TempdirMixin): qnames = set(x.qualified_name for x in it) self.assertEqual(qnam...
New test breaks unittests if install has not yet occured
nerdvegas_rez
train
py
831afffc120cf68a30951b51466962534283c2f4
diff --git a/packages/ember-runtime/lib/controllers/controller.js b/packages/ember-runtime/lib/controllers/controller.js index <HASH>..<HASH> 100644 --- a/packages/ember-runtime/lib/controllers/controller.js +++ b/packages/ember-runtime/lib/controllers/controller.js @@ -46,17 +46,7 @@ function controllerInjectionHelper...
[DOC release] Remove controller needs from docs
emberjs_ember.js
train
js
30f46d5e709f04602ff1737b8a13202cf418d7af
diff --git a/parsl/executors/high_throughput/executor.py b/parsl/executors/high_throughput/executor.py index <HASH>..<HASH> 100644 --- a/parsl/executors/high_throughput/executor.py +++ b/parsl/executors/high_throughput/executor.py @@ -134,6 +134,9 @@ class HighThroughputExecutor(ParslExecutor, RepresentationMixin): ...
add basic docstring for worker_logdir_root
Parsl_parsl
train
py
7390812dd395071c46c2fa9de0287d7024effeb3
diff --git a/bibliopixel/drivers/serial_driver.py b/bibliopixel/drivers/serial_driver.py index <HASH>..<HASH> 100644 --- a/bibliopixel/drivers/serial_driver.py +++ b/bibliopixel/drivers/serial_driver.py @@ -11,6 +11,11 @@ except ImportError as e: log.logger.error(error) raise ImportError(error) +if float(se...
added better check for pyserial version and USB ID
ManiacalLabs_BiblioPixel
train
py
01d435b0d2b0104b88891f27484e42a261f65623
diff --git a/js/coinbase.js b/js/coinbase.js index <HASH>..<HASH> 100644 --- a/js/coinbase.js +++ b/js/coinbase.js @@ -152,7 +152,7 @@ module.exports = class coinbase extends Exchange { async fetchCurrencies (params = {}) { let response = await this.publicGetCurrencies (params); - let currencies ...
more edits to coinbase, simplified fetchTicker, proper market ids fix #<I> fix #<I>
ccxt_ccxt
train
js
6781ca497a95491c67d176baf410bc4073d38c60
diff --git a/main.go b/main.go index <HASH>..<HASH> 100644 --- a/main.go +++ b/main.go @@ -92,7 +92,7 @@ func main() { } dataPath := flag.Arg(0) - createFile(dataPath) + createDir(dataPath) s := server.NewServer(dataPath, dbfile, snapAfter, host, port) go func() { @@ -139,6 +139,13 @@ func createFile(path s...
Fix data path creation With #<I> a bug was introduced, so rqlite raised a panic whenever starting because data path wasn't correctly created. This commit attempts to fix ths bug, and so #<I> changes can be finally applied.
rqlite_rqlite
train
go
c94bc93d418ef70b64357ff930f41801c3ca2de9
diff --git a/src/automate/system.py b/src/automate/system.py index <HASH>..<HASH> 100644 --- a/src/automate/system.py +++ b/src/automate/system.py @@ -461,6 +461,8 @@ class System(SystemBase): super(System, self).__init__(**traits) if not self.name: self.name = self.__class__.__name__ + ...
Use executable filename in logger if System is used without deriving another class
tuomas2_automate
train
py
33bb06077da9ad0b9fb1360b957809554c5a460f
diff --git a/bincopy.py b/bincopy.py index <HASH>..<HASH> 100755 --- a/bincopy.py +++ b/bincopy.py @@ -208,7 +208,7 @@ class _Segment(object): def __str__(self): return '[%#x .. %#x]: %s' % (self.minimum, self.maximum, - ''.join([bi...
Fixing the __str__ function for Segment in python 3. Still works in python2 however in python3 byte arrays arent interchangable with strings (as easily)
eerimoq_bincopy
train
py
a6564878f0619b445d434daeee8a6163152d9687
diff --git a/src/dom_components/model/Component.js b/src/dom_components/model/Component.js index <HASH>..<HASH> 100644 --- a/src/dom_components/model/Component.js +++ b/src/dom_components/model/Component.js @@ -364,15 +364,18 @@ const Component = Backbone.Model.extend(Styleable).extend( * @return {Object} *...
Update getAttributes in Component
artf_grapesjs
train
js
449f056314bf0e222054a54d0827c5626b66f30f
diff --git a/redisson/src/main/java/org/redisson/command/RedisExecutor.java b/redisson/src/main/java/org/redisson/command/RedisExecutor.java index <HASH>..<HASH> 100644 --- a/redisson/src/main/java/org/redisson/command/RedisExecutor.java +++ b/redisson/src/main/java/org/redisson/command/RedisExecutor.java @@ -360,7 +36...
Fixed - stream and queue object may lost entry during execution of any blocking poll operation. #<I>
redisson_redisson
train
java
c06375d6f3b70c482788d17d08bc8c39a6482263
diff --git a/stacker/commands/stacker/build.py b/stacker/commands/stacker/build.py index <HASH>..<HASH> 100644 --- a/stacker/commands/stacker/build.py +++ b/stacker/commands/stacker/build.py @@ -35,4 +35,4 @@ class Build(StackerCommand): def run(self, options, **kwargs): super(Build, self).run(options, **...
force_stacks no longer accepted here
cloudtools_stacker
train
py
8371ecca860a49c62a617b4a4d9e2f429d7fd2a7
diff --git a/rules/php80/src/Rector/Class_/AnnotationToAttributeRector.php b/rules/php80/src/Rector/Class_/AnnotationToAttributeRector.php index <HASH>..<HASH> 100644 --- a/rules/php80/src/Rector/Class_/AnnotationToAttributeRector.php +++ b/rules/php80/src/Rector/Class_/AnnotationToAttributeRector.php @@ -49,7 +49,7 @@...
Update example to new-style php<I> Attributes Fixes #<I> (#<I>) from the `<<>>` interim style.
rectorphp_rector
train
php
a341893cfc79a337e2d330a19c80dd6290e5ebe8
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ from Cython.Build import cythonize DOCLINES = __doc__.split("\n") ######################## -VERSION = "0.2.0" +VERSION = "0.3.0" ISRELEASED = False __version__ = VERSION ########################
Bump in VERSION string in setup.py
bhmm_bhmm
train
py
2ef956c637ed8383cfd0fea7c251dcef056d5459
diff --git a/dockermap/build/dockerfile.py b/dockermap/build/dockerfile.py index <HASH>..<HASH> 100644 --- a/dockermap/build/dockerfile.py +++ b/dockermap/build/dockerfile.py @@ -242,7 +242,7 @@ class DockerFile(DockerStringBuffer): context_path = prepare_path(ctx_path, replace_space, True, expandvars, exp...
Correct source path in add_file.
merll_docker-map
train
py
cc3563731ecaf1bed7da998522edf0cf4f345297
diff --git a/spec/finders/sequel_test_connector.rb b/spec/finders/sequel_test_connector.rb index <HASH>..<HASH> 100644 --- a/spec/finders/sequel_test_connector.rb +++ b/spec/finders/sequel_test_connector.rb @@ -1,5 +1,11 @@ require 'sequel' +Symbol.class_eval do + # Active Record calculations tries `as` on some obj...
fix Active Record choking on a core ext from Sequel
mislav_will_paginate
train
rb
ef06621a2b24f3a786ed706746b6720ede8eed22
diff --git a/test/compiler-test.js b/test/compiler-test.js index <HASH>..<HASH> 100644 --- a/test/compiler-test.js +++ b/test/compiler-test.js @@ -788,7 +788,7 @@ testWithVaryingTrackLineAndColumn("cache", function(options) { var grammar = [ '{ var n = 0; }', 'start = (a "b") / (a "c") { return n; }', - ...
Remove extra comma in compiler tests
pegjs_pegjs
train
js
44343104af4e33a022e6d9c93697b8ec4fc0698e
diff --git a/pandas/io/tests/test_parsers.py b/pandas/io/tests/test_parsers.py index <HASH>..<HASH> 100644 --- a/pandas/io/tests/test_parsers.py +++ b/pandas/io/tests/test_parsers.py @@ -1868,6 +1868,16 @@ a,b,c tm.assert_frame_equal(result, expected) + def test_usecols_regexp_separator(self): + ...
BUG: Add test to read_csv with usecols and regexp separator. #<I>
pandas-dev_pandas
train
py
6d334f1cf84babe0b3587ae93965701c2b504eeb
diff --git a/lib/Alchemy/Phrasea/Model/Entities/ApiApplication.php b/lib/Alchemy/Phrasea/Model/Entities/ApiApplication.php index <HASH>..<HASH> 100644 --- a/lib/Alchemy/Phrasea/Model/Entities/ApiApplication.php +++ b/lib/Alchemy/Phrasea/Model/Entities/ApiApplication.php @@ -14,6 +14,13 @@ use Gedmo\Mapping\Annotation a...
Add web, desktop & URN constant for API application
alchemy-fr_Phraseanet
train
php
f7ecaef4a89de0674d66dfd9110c05c981694145
diff --git a/src/main/java/com/jayway/maven/plugins/android/phase00clean/NdkCleanMojo.java b/src/main/java/com/jayway/maven/plugins/android/phase00clean/NdkCleanMojo.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/jayway/maven/plugins/android/phase00clean/NdkCleanMojo.java +++ b/src/main/java/com/jayway/maven/...
removed wrongly placed $ from property definition
simpligility_android-maven-plugin
train
java
1e8e5b4fb4fad3ab82b78d573f81b7bd242ebe82
diff --git a/java/client/src/org/openqa/selenium/remote/RemoteWebDriverBuilder.java b/java/client/src/org/openqa/selenium/remote/RemoteWebDriverBuilder.java index <HASH>..<HASH> 100644 --- a/java/client/src/org/openqa/selenium/remote/RemoteWebDriverBuilder.java +++ b/java/client/src/org/openqa/selenium/remote/RemoteWeb...
[java] Adding some debug trace to figure out why W3CRemoteDriverTest.shouldPreferMarionette fails on travis
SeleniumHQ_selenium
train
java
bbcebcd0d36252b4d53472aead647ec5b2a4d247
diff --git a/contrib/ovirt/lib/ovirtlago/virt.py b/contrib/ovirt/lib/ovirtlago/virt.py index <HASH>..<HASH> 100644 --- a/contrib/ovirt/lib/ovirtlago/virt.py +++ b/contrib/ovirt/lib/ovirtlago/virt.py @@ -43,6 +43,9 @@ class OvirtVirtEnv(lago.virt.VirtEnv): elif role == 'host': self._host_vms.append...
Adding support for ovirt node specific VM's Change-Id: If1d3c<I>a<I>ae<I>f6f9ea<I>fe<I>e<I>e1
lago-project_lago
train
py
3fd0b6c10498ad87143d9eb7a8f70ddb5ca37e14
diff --git a/upup/pkg/fi/default_methods.go b/upup/pkg/fi/default_methods.go index <HASH>..<HASH> 100644 --- a/upup/pkg/fi/default_methods.go +++ b/upup/pkg/fi/default_methods.go @@ -29,12 +29,16 @@ func DefaultDeltaRunMethod(e Task, c *Context) error { var a Task var err error - var lifecycle *Lifecycle + var li...
Require all HasLifecycle tasks to have lifecycle set
kubernetes_kops
train
go
b7b692e9ff27f14303da8338c6a45c9b7fb61fbd
diff --git a/datalad_service/common/annex.py b/datalad_service/common/annex.py index <HASH>..<HASH> 100644 --- a/datalad_service/common/annex.py +++ b/datalad_service/common/annex.py @@ -71,7 +71,7 @@ def get_repo_files(dataset, branch=None): # but this is pretty efficient since it only looks at no...
Produce unique ids for files with the same content but different paths.
OpenNeuroOrg_openneuro
train
py
d45fb5fcd9d0d57d9a859cc46c40acee75628ae0
diff --git a/scout/adapter/mongo/variant.py b/scout/adapter/mongo/variant.py index <HASH>..<HASH> 100644 --- a/scout/adapter/mongo/variant.py +++ b/scout/adapter/mongo/variant.py @@ -403,11 +403,12 @@ class VariantHandler(VariantLoader): if case_obj: filters['case_id'] = case_obj['_id'] ...
Silly regex quote convention..
Clinical-Genomics_scout
train
py
f8ba38a0e47a7a8860e1836c0ca7423d440c51cd
diff --git a/alts/src/main/java/io/grpc/alts/internal/AltsHandshakerClient.java b/alts/src/main/java/io/grpc/alts/internal/AltsHandshakerClient.java index <HASH>..<HASH> 100644 --- a/alts/src/main/java/io/grpc/alts/internal/AltsHandshakerClient.java +++ b/alts/src/main/java/io/grpc/alts/internal/AltsHandshakerClient.ja...
alts: ensure only the first few bytes of key are used Fixes grpc/grpc#<I>
grpc_grpc-java
train
java
9c8179304a9eefb82af2663efdb93d360b078b90
diff --git a/compliance_checker/suite.py b/compliance_checker/suite.py index <HASH>..<HASH> 100644 --- a/compliance_checker/suite.py +++ b/compliance_checker/suite.py @@ -465,10 +465,11 @@ class CheckSuite(object): else: raise Exception("Could not understand response code %s and content-ty...
Don't assign a lambda
ioos_compliance-checker
train
py
5132893c6fa2799cfb9d23b35ff1828f8c621421
diff --git a/util.py b/util.py index <HASH>..<HASH> 100644 --- a/util.py +++ b/util.py @@ -144,11 +144,26 @@ def get_platform(): machine = 'fat' cflags = get_config_vars().get('CFLAGS') - if '-arch x86_64' in cflags: - if '-arch i386' in cflags: - ...
Finish support for --with-universal-archs=intel and --with-universal-archs=3-way (issue<I>)
pypa_setuptools
train
py
92ed340bfd11735ce46a5ceeed51bedad6e8af0a
diff --git a/holidays/countries/lesotho.py b/holidays/countries/lesotho.py index <HASH>..<HASH> 100644 --- a/holidays/countries/lesotho.py +++ b/holidays/countries/lesotho.py @@ -56,7 +56,7 @@ class Lesotho(HolidayBase): if year > 1997: # https://en.wikipedia.org/wiki/Letsie_III ...
merged beta into feature/lesotho
dr-prodigy_python-holidays
train
py
6447aa9c3370f72b068f135f20279c1cd3005735
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index <HASH>..<HASH> 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -14,8 +14,7 @@ To run Array#first tests, for example: EOS end -require 'opaltest/spec' -require 'opaltest/autorun' +require 'opal/spec/autorun' ## # Spec runner - if in brows...
Update spec runner for opal/spec
opal_opal
train
rb
b42a9142acae744afb2736f22914306f96c04197
diff --git a/modeltranslation/tests/__init__.py b/modeltranslation/tests/__init__.py index <HASH>..<HASH> 100644 --- a/modeltranslation/tests/__init__.py +++ b/modeltranslation/tests/__init__.py @@ -1486,6 +1486,21 @@ class TestManager(ModeltranslationTestBase): self.assertEqual(n.visits_en, 11) ...
Added a simple test that catches the descending order problem.
deschler_django-modeltranslation
train
py
8f9717255774e5013a57cfd4d0125ec07ec2655e
diff --git a/client/src/main/java/io/atomix/copycat/client/session/ClientSessionSubmitter.java b/client/src/main/java/io/atomix/copycat/client/session/ClientSessionSubmitter.java index <HASH>..<HASH> 100644 --- a/client/src/main/java/io/atomix/copycat/client/session/ClientSessionSubmitter.java +++ b/client/src/main/jav...
Automatically fail non-timeout or response exceptions.
atomix_copycat
train
java
f4012b6927a012a8bf9d1fef7b977fbf2a447631
diff --git a/organizations/backends/defaults.py b/organizations/backends/defaults.py index <HASH>..<HASH> 100644 --- a/organizations/backends/defaults.py +++ b/organizations/backends/defaults.py @@ -339,7 +339,7 @@ class InvitationBackend(BaseBackend): user = self.user_model.objects.get(email=email) ...
Replace inspect.getargspec with inspect.getfullargspec The former is long since deprecated
bennylope_django-organizations
train
py
50f467e9614a38cd99691700ead2514399c741b6
diff --git a/tests/PatternsTest.php b/tests/PatternsTest.php index <HASH>..<HASH> 100644 --- a/tests/PatternsTest.php +++ b/tests/PatternsTest.php @@ -19,7 +19,7 @@ use WyriHaximus\HtmlCompress\Patterns; */ class PatternsTest extends \PHPUnit_Framework_TestCase { - public function testPreProvider() { + publi...
Corrected the test data providers method name to match the test method name
WyriHaximus_HtmlCompress
train
php
c763be7c97973fa0dd296fd895d4704dcd4734b1
diff --git a/activesupport/lib/active_support/evented_file_update_checker.rb b/activesupport/lib/active_support/evented_file_update_checker.rb index <HASH>..<HASH> 100644 --- a/activesupport/lib/active_support/evented_file_update_checker.rb +++ b/activesupport/lib/active_support/evented_file_update_checker.rb @@ -108,7...
Don't call listen with empty directory list Listen interprets an empty list of directories as "watch the current directory". Since EventedFileUpdateChecker doesn't share these semantics, we should not initialize listen if we end up with an empty directory list.
rails_rails
train
rb
6435c7534c33023b17947197a5a8ec1bfef81d1e
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -56,7 +56,7 @@ setup( author_email="roland@catalogix.se", license="Apache 2.0", url='https://github.com/IdentityPython/oicmsg/', - packages=["oiccli", "oiccli/oauth2", "oiccli/oic", 'oiccli/client_authn'], + ...
Don't split client_auth
openid_JWTConnect-Python-OidcService
train
py
8f09e1c75db3a926fe12d1f91a8bb869a19d90f1
diff --git a/lib/flipper/spec/shared_adapter_specs.rb b/lib/flipper/spec/shared_adapter_specs.rb index <HASH>..<HASH> 100644 --- a/lib/flipper/spec/shared_adapter_specs.rb +++ b/lib/flipper/spec/shared_adapter_specs.rb @@ -204,7 +204,7 @@ shared_examples_for 'a flipper adapter' do subject.enable(feature, actors_ga...
Get rid of undefined any? call on a boolean
jnunemaker_flipper
train
rb
0299a2e30d42aaecd5f2bd481b363b401e90be49
diff --git a/hazelcast-jet-core/src/main/java/com/hazelcast/jet/impl/connector/HazelcastWriters.java b/hazelcast-jet-core/src/main/java/com/hazelcast/jet/impl/connector/HazelcastWriters.java index <HASH>..<HASH> 100644 --- a/hazelcast-jet-core/src/main/java/com/hazelcast/jet/impl/connector/HazelcastWriters.java +++ b/h...
conceal cache-api with inner static class
hazelcast_hazelcast
train
java
4cd57b2ddadfd00e178b57d4da9da410c177e5cd
diff --git a/lib/composites/menu/events/arrow.js b/lib/composites/menu/events/arrow.js index <HASH>..<HASH> 100644 --- a/lib/composites/menu/events/arrow.js +++ b/lib/composites/menu/events/arrow.js @@ -3,7 +3,7 @@ import activate from '../utils/activate'; module.exports = (items, target, dir) => { - const isNext ...
fixes #<I> dropdown down/up arrows go the correct way (#<I>)
dequelabs_pattern-library
train
js
08eafb42abe52c07ddf495f071b47352243b7aaa
diff --git a/query_time_test.go b/query_time_test.go index <HASH>..<HASH> 100644 --- a/query_time_test.go +++ b/query_time_test.go @@ -18,12 +18,12 @@ func (s *RethinkSuite) TestTimeTime(c *test.C) { func (s *RethinkSuite) TestTimeTimeMillisecond(c *test.C) { var response time.Time - res, err := Time(1986, 11, 3, ...
Update query_time_test.go Fixing failing test
rethinkdb_rethinkdb-go
train
go
eb4bd18c7aedacfefc2ac9c50fafd1fc99925615
diff --git a/app/models/application.rb b/app/models/application.rb index <HASH>..<HASH> 100644 --- a/app/models/application.rb +++ b/app/models/application.rb @@ -14,7 +14,7 @@ class Application < ActiveRecord::Base before_validation :generate_uid, :generate_secret, :on => :create def self.authorized_for(resour...
application.authorized_for should only fetch access tokens not yet revoked
doorkeeper-gem_doorkeeper
train
rb
41a79b08bc07511f7f68b193054b19360fd48838
diff --git a/src/main/java/org/mitre/dsmiley/httpproxy/ProxyServlet.java b/src/main/java/org/mitre/dsmiley/httpproxy/ProxyServlet.java index <HASH>..<HASH> 100644 --- a/src/main/java/org/mitre/dsmiley/httpproxy/ProxyServlet.java +++ b/src/main/java/org/mitre/dsmiley/httpproxy/ProxyServlet.java @@ -131,12 +131,17 @@ pub...
Allows subclasses of ProxyServlet to provide specific behaviour of ‘org.apache.http.client.config.RequestConfig’ while building HttpClient instances.
mitre_HTTP-Proxy-Servlet
train
java
1c79b9835bec46930369b026c3d81dc5885a21e3
diff --git a/src/Http/Response.php b/src/Http/Response.php index <HASH>..<HASH> 100644 --- a/src/Http/Response.php +++ b/src/Http/Response.php @@ -17,7 +17,18 @@ class Response extends AbstractResponse protected $jsonContent; protected $htmlContent; - public function __construct(Url $startingUrl, Url $ur...
Added phpdoc to Response constructor Added default value to array $info
oscarotero_Embed
train
php
461414a179d22c95edae1e85470936aa413e0395
diff --git a/lib/fluent/log.rb b/lib/fluent/log.rb index <HASH>..<HASH> 100644 --- a/lib/fluent/log.rb +++ b/lib/fluent/log.rb @@ -265,6 +265,10 @@ module Fluent end } + map.each_pair {|k,v| + message << " #{k}=#{v.inspect}" + } + unless @threads_exclude_events.include?(Thread....
Add args from 2nd to fluent.** internal messages
fluent_fluentd
train
rb
097bd67c51200665b6214425bbee03fb24df5825
diff --git a/lxd/images.go b/lxd/images.go index <HASH>..<HASH> 100644 --- a/lxd/images.go +++ b/lxd/images.go @@ -122,14 +122,13 @@ func compressFile(compress string, infile io.Reader, outfile io.Writer) error { defer os.Remove(tempfile.Name()) // Prepare 'tar2sqfs' arguments - args := []string{"tar2sqfs", "-...
lxd/images: Adds more output detail when tar2sqfs fails in compressFile
lxc_lxd
train
go
aa2fd7bb14cfceedb66955510254090049e6f8db
diff --git a/openquake/calculators/classical_risk.py b/openquake/calculators/classical_risk.py index <HASH>..<HASH> 100644 --- a/openquake/calculators/classical_risk.py +++ b/openquake/calculators/classical_risk.py @@ -111,10 +111,10 @@ class ClassicalRiskCalculator(base.RiskCalculator): super(ClassicalRis...
Cleanup [skip CI]
gem_oq-engine
train
py
0c6ef8b4812b477a968583c81a7528182e7a459c
diff --git a/umap/umap_.py b/umap/umap_.py index <HASH>..<HASH> 100644 --- a/umap/umap_.py +++ b/umap/umap_.py @@ -656,6 +656,8 @@ def fuzzy_simplicial_set(X, n_neighbors, random_state, if scipy.sparse.isspmatrix_csr(X): if metric in sparse.sparse_named_distances: distance_func = sparse.spars...
Fix for sparse distances that require n_features (issue #<I>)
lmcinnes_umap
train
py
4e430bab6f904c185ca64aeac9b9c06e0a03ec97
diff --git a/src/tools/OverlayTool.js b/src/tools/OverlayTool.js index <HASH>..<HASH> 100644 --- a/src/tools/OverlayTool.js +++ b/src/tools/OverlayTool.js @@ -103,8 +103,12 @@ export default class OverlayTool extends BaseTool { } } + // Guard against non-number values + const overlayX = (!is...
fix: guard against non-number values
cornerstonejs_cornerstoneTools
train
js
601773958d8c211438da6cbdd1d5d501da86af15
diff --git a/lnd.go b/lnd.go index <HASH>..<HASH> 100644 --- a/lnd.go +++ b/lnd.go @@ -645,8 +645,11 @@ func genCertPair(certFile, keyFile string) error { // Collect the host's names into a slice. host, err := os.Hostname() if err != nil { - return err + rpcsLog.Errorf("Failed getting hostname, falling back to ...
lnd: fallback to localhost if failing getting hostname Needed on some versions of Android.
lightningnetwork_lnd
train
go
4e7f23e266ad59093a72437d8f5ece8155402859
diff --git a/spec/researches/metaDescriptionKeywordSpec.js b/spec/researches/metaDescriptionKeywordSpec.js index <HASH>..<HASH> 100644 --- a/spec/researches/metaDescriptionKeywordSpec.js +++ b/spec/researches/metaDescriptionKeywordSpec.js @@ -98,4 +98,12 @@ describe( "the metadescription keyword match research", functi...
Added extra test for keyword in metadescription.
Yoast_YoastSEO.js
train
js
31f3333d74f814b6b77cacb0c2f79f7aa52250af
diff --git a/src/DefaultLogWriter.php b/src/DefaultLogWriter.php index <HASH>..<HASH> 100644 --- a/src/DefaultLogWriter.php +++ b/src/DefaultLogWriter.php @@ -17,7 +17,7 @@ class DefaultLogWriter implements LogWriter $bodyAsJson = json_encode($request->except(config('http-logger.except'))); $files =...
replaced getRealPath() method by getClientOriginalName() because we just want to get the name of the uploaded files
spatie_laravel-http-logger
train
php
cbb551deb93712048485a7de50146bb088137c02
diff --git a/pyontutils/core.py b/pyontutils/core.py index <HASH>..<HASH> 100644 --- a/pyontutils/core.py +++ b/pyontutils/core.py @@ -1052,6 +1052,7 @@ class IlxTerm(OntTerm): IlxTerm.query = oq.OntQuery(ixr, instrumented=OntTerm) # This init pattern still works if you want to mix and match +ilxquery = oq.OntQue...
core add ilxquery to parallel query
tgbugs_pyontutils
train
py
9a11a19f552f31c072d51e8173672066ddb1bf87
diff --git a/src/Flare/Http/Controllers/AdminController.php b/src/Flare/Http/Controllers/AdminController.php index <HASH>..<HASH> 100644 --- a/src/Flare/Http/Controllers/AdminController.php +++ b/src/Flare/Http/Controllers/AdminController.php @@ -107,7 +107,13 @@ class AdminController extends FlareController */ ...
Allow user to override dashboard template
laravelflare_flare
train
php
f2c5c19e3e31ba7eabb90c0db3c0ba3e0037f9be
diff --git a/src/main/java/com/semanticcms/autogit/view/AutoGitView.java b/src/main/java/com/semanticcms/autogit/view/AutoGitView.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/semanticcms/autogit/view/AutoGitView.java +++ b/src/main/java/com/semanticcms/autogit/view/AutoGitView.java @@ -92,7 +92,12 @@ public...
Book title is optional, view titles now taking that into consideration.
aoindustries_semanticcms-autogit-view
train
java
47e7391f4eb302068469cd27eeef7d1d635f0d3d
diff --git a/NavigationSample/Scripts/navigation.mvc.js b/NavigationSample/Scripts/navigation.mvc.js index <HASH>..<HASH> 100644 --- a/NavigationSample/Scripts/navigation.mvc.js +++ b/NavigationSample/Scripts/navigation.mvc.js @@ -160,9 +160,7 @@ var newLink = win.location.pathname + win.location.search; ...
Switched around the if else because finding the path is the normal case
grahammendick_navigation
train
js
cb40076be8e55df3bd9674dc1b64fd55d73c7dba
diff --git a/library/src/main/java/com/prolificinteractive/materialcalendarview/MaterialCalendarView.java b/library/src/main/java/com/prolificinteractive/materialcalendarview/MaterialCalendarView.java index <HASH>..<HASH> 100644 --- a/library/src/main/java/com/prolificinteractive/materialcalendarview/MaterialCalendarVi...
Fix for topbar hiding not updating view size properly
prolificinteractive_material-calendarview
train
java
385b97a9d78d0a533d8239fc9e23ba70a98ed397
diff --git a/spyderlib/widgets/interactiveshell.py b/spyderlib/widgets/interactiveshell.py index <HASH>..<HASH> 100644 --- a/spyderlib/widgets/interactiveshell.py +++ b/spyderlib/widgets/interactiveshell.py @@ -197,6 +197,9 @@ class InteractiveShell(PythonShellWidget): # First prompt self.new_prompt(...
Interactive console: when option "Force modules to be completely reloaded" is enabled, modules are completely reloaded when console is restarted (and not only when running programs)
spyder-ide_spyder
train
py
a7902f0f7af97ae10e5339d69ba65444513a28f1
diff --git a/src/Contentful.php b/src/Contentful.php index <HASH>..<HASH> 100644 --- a/src/Contentful.php +++ b/src/Contentful.php @@ -254,7 +254,7 @@ class Contentful 'content_types', '', $parameters, - $options + array_merge($options, ['include_level' => nu...
ensure no include level for content type fetch (#<I>)
usemarkup_contentful
train
php
51a99e88a99677993fc42a8b9e9a65af6d3ed20e
diff --git a/doc/sphinxext/gen_rst.py b/doc/sphinxext/gen_rst.py index <HASH>..<HASH> 100644 --- a/doc/sphinxext/gen_rst.py +++ b/doc/sphinxext/gen_rst.py @@ -101,7 +101,7 @@ def extract_docstring(filename): docstring = '' first_par = '' - tokens = tokenize.generate_tokens(lines.__iter__().next) + tok...
COSMIT don't call magic methods directly One tricky case left in doc/sphinxext/gen_rst.py. Also, don't use relative imports in tests.
sphinx-gallery_sphinx-gallery
train
py
67c3bb1276717d9c2c486e1cf21d43212322a2ff
diff --git a/mixbox/compat.py b/mixbox/compat.py index <HASH>..<HASH> 100644 --- a/mixbox/compat.py +++ b/mixbox/compat.py @@ -16,6 +16,7 @@ if six.PY2: return b''.join([chr(ord(c) ^ key) for c in data]) from collections import MutableSequence + from collections import Sequence elif six.PY3: ...
add Sequence class to compat.py
CybOXProject_mixbox
train
py
d0bd7654a9dde91c81e00009ee7759a29551fc76
diff --git a/src/flow.js b/src/flow.js index <HASH>..<HASH> 100644 --- a/src/flow.js +++ b/src/flow.js @@ -1305,8 +1305,8 @@ * @function */ send: function () { - var preprocess = this.flowObj.opts.preprocess, - read = this.flowObj.opts.read; + var preprocess = this.flowObj.opts.preproc...
Removed single var pattern usage as discussed in <URL>
flowjs_flow.js
train
js
39a023e6726adc2a40c16addc39eb11713fd9a8e
diff --git a/main.go b/main.go index <HASH>..<HASH> 100644 --- a/main.go +++ b/main.go @@ -12,7 +12,7 @@ var mainApiFile = flag.String("mainApiFile", "", "The file that contains the gen var outputFormat = flag.String("format", "go", "Output format type for the generated files: "+generator.AVAILABLE_FORMATS) var outpu...
Fixes # <I> default ignore to not ignore anything Changed the default value of ignore command line argument to not ignore any packages, the new default value for ignore is ^$ which would only match empty package name (and there are no empty package names)
yvasiyarov_swagger
train
go