hash
stringlengths
40
40
diff
stringlengths
131
114k
message
stringlengths
7
980
project
stringlengths
5
67
split
stringclasses
1 value
3616eee8c1ecdab4cd6864d8472140f41d3f3f4b
diff --git a/katcp/resource_client.py b/katcp/resource_client.py index <HASH>..<HASH> 100644 --- a/katcp/resource_client.py +++ b/katcp/resource_client.py @@ -641,11 +641,11 @@ class KATCPClientResource(resource.KATCPResource): sensor_instance_fut = {} # Get KATCPSensor instance futures from inspectin...
Check that the sensor exists before removing it.
ska-sa_katcp-python
train
ade7b5a610fa8092f1611c640c9db283104e3424
diff --git a/h2o-algos/src/main/java/hex/kmeans/KMeans.java b/h2o-algos/src/main/java/hex/kmeans/KMeans.java index <HASH>..<HASH> 100755 --- a/h2o-algos/src/main/java/hex/kmeans/KMeans.java +++ b/h2o-algos/src/main/java/hex/kmeans/KMeans.java @@ -42,7 +42,7 @@ public class KMeans extends ClusteringModelBuilder<KMeansMo...
PUBDEV-<I>: Fix K-Means admission, and also fill in categoricals in the centroid output table.
h2oai_h2o-3
train
9b14743f7cbec70ac3a7169162b54b1474942fe0
diff --git a/src/wycore/util/AbstractEntry.java b/src/wycore/util/AbstractEntry.java index <HASH>..<HASH> 100644 --- a/src/wycore/util/AbstractEntry.java +++ b/src/wycore/util/AbstractEntry.java @@ -30,10 +30,10 @@ import wycore.lang.Path.Entry; import wycore.lang.Path.ID; public abstract class AbstractEntry<T> imp...
Hmmm, minor tweaks.
Whiley_WhileyCompiler
train
5d3194a738c26de3f2293daba0e19e45022b1a7c
diff --git a/flask_oidc/__init__.py b/flask_oidc/__init__.py index <HASH>..<HASH> 100644 --- a/flask_oidc/__init__.py +++ b/flask_oidc/__init__.py @@ -68,6 +68,8 @@ class OpenIDConnect(object): app.config.setdefault('OIDC_VALID_ISSUERS', ['accounts.google.com', ...
Allow non-verified email if requested and split id_token checks This also allows setting OIDC_CLOCK_SKEW to a number of seconds to allow for issued at clock skew. Fixes: #7
puiterwijk_flask-oidc
train
83403636c669e07bec17ec051c40ec5ff18e0d22
diff --git a/src/sap.ui.core/src/sap/ui/core/XMLComposite.js b/src/sap.ui.core/src/sap/ui/core/XMLComposite.js index <HASH>..<HASH> 100644 --- a/src/sap.ui.core/src/sap/ui/core/XMLComposite.js +++ b/src/sap.ui.core/src/sap/ui/core/XMLComposite.js @@ -831,94 +831,5 @@ sap.ui.define([ oElement.appendChild(oNode); };...
[INTERNAL] XMLComposite: helper deleted - we have deleted the helper in the XMLComposite. Change-Id: If6bf1fca<I>e<I>cdc<I>d7ae0a<I>
SAP_openui5
train
3a62394435b36e4bf46e2f65c721d97f0a215c0b
diff --git a/lib/datasource/docker.js b/lib/datasource/docker.js index <HASH>..<HASH> 100644 --- a/lib/datasource/docker.js +++ b/lib/datasource/docker.js @@ -1,8 +1,10 @@ const dockerRegistryClient = require('docker-registry-client'); const got = require('got'); +const URL = require('url'); const parseLinkHeader = ...
feat: docker registry authentication (#<I>) Closes #<I>
renovatebot_renovate
train
542a0fc7aec56a9d26f9d624bbe52bece1386e4a
diff --git a/server.js b/server.js index <HASH>..<HASH> 100644 --- a/server.js +++ b/server.js @@ -1102,8 +1102,7 @@ cache(function(data, match, sendBadge, request) { } try { var data = JSON.parse(buffer); - var version = data.version; - var vdata = versionColor(version); + var vdata = v...
Omitted unnecessary variable creation As per @espadrine's suggestion in the PR discussion. No need for this variable to be created.
badges_shields
train
522b4990efd78b341e3ee21978737999cabc6fdc
diff --git a/salt/modules/glusterfs.py b/salt/modules/glusterfs.py index <HASH>..<HASH> 100644 --- a/salt/modules/glusterfs.py +++ b/salt/modules/glusterfs.py @@ -77,6 +77,17 @@ def _etree_to_dict(t): return d +def _iter(root, term): + ''' + Checks for python2.6 or python2.7 + ''' + if sys.version_...
Updated the rest of glusterfs.py for python<I> compatibility
saltstack_salt
train
5b10fb443f5c4c0a4d97e43ff35876a2435ec6ce
diff --git a/src/Sylius/Bundle/ResourceBundle/Controller/ResourceController.php b/src/Sylius/Bundle/ResourceBundle/Controller/ResourceController.php index <HASH>..<HASH> 100644 --- a/src/Sylius/Bundle/ResourceBundle/Controller/ResourceController.php +++ b/src/Sylius/Bundle/ResourceBundle/Controller/ResourceController.p...
Brought more flexibility to redirect methods.
Sylius_Sylius
train
b12c7522ae7749484268e3e376b68aeb3df694b1
diff --git a/pysat/__init__.py b/pysat/__init__.py index <HASH>..<HASH> 100644 --- a/pysat/__init__.py +++ b/pysat/__init__.py @@ -99,7 +99,6 @@ else: with open(os.path.join(pysat_dir, 'user_modules.txt'), 'w') as f: f.write('') -import netCDF4 from pandas import Panel, DataFrame, Series, datet...
STY: Removed netCDF4 import from init
rstoneback_pysat
train
c3a12b76ff2f0e6635d670a944d29b6756856559
diff --git a/spyder/app/mainwindow.py b/spyder/app/mainwindow.py index <HASH>..<HASH> 100644 --- a/spyder/app/mainwindow.py +++ b/spyder/app/mainwindow.py @@ -1141,8 +1141,18 @@ class MainWindow(QMainWindow, SpyderConfigurationAccessor): Actions to be performed only after the main window's `show` method ...
Main Window: Restore visible plugins before running on_mainwindow_visible for them
spyder-ide_spyder
train
b81101d384478efef6f34283ac91fe439f490afd
diff --git a/lib/artifactory/resources/ldap_setting.rb b/lib/artifactory/resources/ldap_setting.rb index <HASH>..<HASH> 100644 --- a/lib/artifactory/resources/ldap_setting.rb +++ b/lib/artifactory/resources/ldap_setting.rb @@ -120,15 +120,18 @@ module Artifactory end end + # Ordered to match the artifa...
Re-order LDAP attributes to match xsd, because order turns out to matter.
chef_artifactory-client
train
b910b9a0d83b088b1c3b127c2a95d45163625538
diff --git a/HydraServer/python/HydraServer/soap_server/data.py b/HydraServer/python/HydraServer/soap_server/data.py index <HASH>..<HASH> 100644 --- a/HydraServer/python/HydraServer/soap_server/data.py +++ b/HydraServer/python/HydraServer/soap_server/data.py @@ -306,7 +306,7 @@ class DataService(HydraService): ...
Fix bug shown up by newest version of spyne
hydraplatform_hydra-base
train
9f4126b572462dd63b8cddb585d217a235dc5d9d
diff --git a/addon/qunit.js b/addon/qunit.js index <HASH>..<HASH> 100644 --- a/addon/qunit.js +++ b/addon/qunit.js @@ -23,6 +23,8 @@ const find = wrap(function * (selector, options = {}) { while(true) { let $el = $(selector); + console.log(selector); + if ($el.length) { return raw($el); } ...
add logs for travis debugging
machty_ember-concurrency
train
b772577a7a76ab7999e511ee5ea8c18d89055147
diff --git a/lib/origen/remote_manager.rb b/lib/origen/remote_manager.rb index <HASH>..<HASH> 100644 --- a/lib/origen/remote_manager.rb +++ b/lib/origen/remote_manager.rb @@ -22,9 +22,9 @@ module Origen Origen.log.info 'The following remotes need to be updated, this will now happen automatically:' ...
Added printing the name of the app/plugin that included the remote.
Origen-SDK_origen
train
7f02f584b199d9aa5addaffa05e6daa9a4a77473
diff --git a/docs/drivers/aws.md b/docs/drivers/aws.md index <HASH>..<HASH> 100644 --- a/docs/drivers/aws.md +++ b/docs/drivers/aws.md @@ -83,7 +83,7 @@ Environment variables and default values: | `--amazonec2-access-key` | `AWS_ACCESS_KEY_ID` | - | | `--amazonec2-secret-key` ...
Update base images for AWS to <I>
docker_machine
train
9d7b5dfb1bdda2e1b853eb37d59fb0af232b3054
diff --git a/src/dbquery/query.py b/src/dbquery/query.py index <HASH>..<HASH> 100644 --- a/src/dbquery/query.py +++ b/src/dbquery/query.py @@ -241,17 +241,21 @@ class SelectIterator(Select): class SelectCursor(Query): - """ Returns cursor context for external processing. Use "with" to ensure - closing of...
Added SelectCursor class and test.
merry-bits_DBQuery
train
181a21c67c8dafe027cd7fb43fe3f68eaf2a52ea
diff --git a/rlp/encode.go b/rlp/encode.go index <HASH>..<HASH> 100644 --- a/rlp/encode.go +++ b/rlp/encode.go @@ -87,6 +87,8 @@ func (e flatenc) EncodeRLP(out io.Writer) error { // To encode a pointer, the value being pointed to is encoded. For nil // pointers, Encode will encode the zero value of the type. A nil /...
rlp: encode nil array pointers as empty list or string
ethereum_go-ethereum
train
80dccdab65d2fbbc352bedd137ecd0dbacf29e07
diff --git a/photutils/detection/findstars.py b/photutils/detection/findstars.py index <HASH>..<HASH> 100644 --- a/photutils/detection/findstars.py +++ b/photutils/detection/findstars.py @@ -454,8 +454,7 @@ def _findobjs(data, kernel, threshold): # fill_value=0.0) xkrad = ker...
Fixed line wrap in findstars.py
astropy_photutils
train
df75a20e3089b96c584505559a050aadd8618f47
diff --git a/lib/boson/option_command.rb b/lib/boson/option_command.rb index <HASH>..<HASH> 100644 --- a/lib/boson/option_command.rb +++ b/lib/boson/option_command.rb @@ -30,6 +30,10 @@ module Boson def default_render_options @default_render_options ||= RENDER_OPTIONS.merge Boson.repo.config[:render_opt...
moved last of command-specific logic to option_command
cldwalker_boson
train
f5afa82c8f64c3dac36b7e57910c5a15b6c50a8e
diff --git a/bin/rtlcss.js b/bin/rtlcss.js index <HASH>..<HASH> 100644 --- a/bin/rtlcss.js +++ b/bin/rtlcss.js @@ -168,7 +168,7 @@ if (!shouldBreak) { fs.writeFile(savePath + '.map', result.map, 'utf8', function (err) { err && printError(err) }) } } else { - console.log(result.css) + proc...
Fix an issue with empty output when `--silent` and `--stdin` flags are used together. (#<I>) When rtlcss is called with both --silent and --stdin to take the css from stdin and output to stdout, the --silent flag results in no output since console.log is redefined to be an empty function. Using process.stdout.write...
MohammadYounes_rtlcss
train
4867ef7024a76f4828b0a5847a8096c21a2ad6f5
diff --git a/lib/pester.rb b/lib/pester.rb index <HASH>..<HASH> 100644 --- a/lib/pester.rb +++ b/lib/pester.rb @@ -55,25 +55,7 @@ module Pester begin return yield(block) rescue => e - retry_error_classes = opts[:retry_error_classes] - retry_error_messages = opts[:retry_error_message...
Refactor retry decision making to a new method @slpsys
lumoslabs_pester
train
a40b09744c1f9ad86feb59e6cb89a5aa8fdc9696
diff --git a/lib/gitomator/service/git/provider/shell.rb b/lib/gitomator/service/git/provider/shell.rb index <HASH>..<HASH> 100644 --- a/lib/gitomator/service/git/provider/shell.rb +++ b/lib/gitomator/service/git/provider/shell.rb @@ -29,6 +29,7 @@ module Gitomator def set_remote(local_repo_root, remote, u...
Adding the git.command API - It is not ideal, but it's the quickest way around a still-changing, incomplete, Git service API.
gitomator_gitomator
train
3ebcf71e8e5e032b9f8e2771665f9d173cdca91b
diff --git a/lib/NormalModuleFactory.js b/lib/NormalModuleFactory.js index <HASH>..<HASH> 100644 --- a/lib/NormalModuleFactory.js +++ b/lib/NormalModuleFactory.js @@ -24,7 +24,7 @@ function loaderToIdent(data) { } function identToLoaderRequest(resultString) { - let idx = resultString.indexOf("?"); + const idx = res...
let to const in NormalModuleFactory
webpack_webpack
train
b1c8921669c34be0ba1b366daad546851aae85ed
diff --git a/.php_cs b/.php_cs index <HASH>..<HASH> 100644 --- a/.php_cs +++ b/.php_cs @@ -10,8 +10,9 @@ return PhpCsFixer\Config::create() 'concat_space' => ['spacing' => 'one'], 'method_chaining_indentation' => false, 'multiline_whitespace_before_semicolons' => false, - 'native_funct...
Import all global functions and constants
netgen_NetgenBirthdayBundle
train
1485f4bce92d99a3223198bf74152cfe938e0276
diff --git a/dialect.go b/dialect.go index <HASH>..<HASH> 100644 --- a/dialect.go +++ b/dialect.go @@ -35,7 +35,7 @@ type Dialect interface { HasColumn(tableName string, columnName string) bool // LimitAndOffsetSQL return generated SQL with Limit and Offset, as mssql has special case - LimitAndOffsetSQL(limit, of...
Use validated interface{} for limit/offset values to ensure values greater than max <I>-bit integer are addressable, and in a backwards-compatible way.
jinzhu_gorm
train
b04e06eb72b8876611108eca94b740eeb1156a25
diff --git a/src/SpotifyWebAPI.php b/src/SpotifyWebAPI.php index <HASH>..<HASH> 100644 --- a/src/SpotifyWebAPI.php +++ b/src/SpotifyWebAPI.php @@ -926,6 +926,7 @@ class SpotifyWebAPI * * @param array|object $options Optional. Options for the track. * - string market Optional. An ISO 3166-1 alpha-2 cou...
Add podcast episode support to other endpoints
jwilsson_spotify-web-api-php
train
36e92f121a5c1b9c28e5cddbc8fffd4a5ed220c0
diff --git a/lib/operations/db_ops.js b/lib/operations/db_ops.js index <HASH>..<HASH> 100644 --- a/lib/operations/db_ops.js +++ b/lib/operations/db_ops.js @@ -15,7 +15,7 @@ const toError = require('../utils').toError; const count = require('./collection_ops').count; const findOne = require('./collection_ops').findOne...
fix(db_ops): call collection.find() with correct parameters (#<I>) Fixes NODE-<I>
mongodb_node-mongodb-native
train
4fd9aafa15c85a36eb4e61b873ef1188d11a769d
diff --git a/src/Illuminate/Database/Console/Migrations/ResetCommand.php b/src/Illuminate/Database/Console/Migrations/ResetCommand.php index <HASH>..<HASH> 100755 --- a/src/Illuminate/Database/Console/Migrations/ResetCommand.php +++ b/src/Illuminate/Database/Console/Migrations/ResetCommand.php @@ -54,6 +54,13 @@ class ...
Add check for migration table in reset command
laravel_framework
train
236928076879e32ca9ec9d6517bb7178e67effe4
diff --git a/src/index.js b/src/index.js index <HASH>..<HASH> 100644 --- a/src/index.js +++ b/src/index.js @@ -588,6 +588,9 @@ class JanusAdapter { } dataForUpdateMultiMessage(networkId, message) { + // "d" is an array of unique entity datas, where each item in the array represents a single entity and contai...
Fix entity removal and non-standard updates during pause mode
mozilla_naf-janus-adapter
train
2efce3371f3b08dddc1802d5c21e90f3fb6e666b
diff --git a/lib/gcli/cli.js b/lib/gcli/cli.js index <HASH>..<HASH> 100644 --- a/lib/gcli/cli.js +++ b/lib/gcli/cli.js @@ -253,18 +253,13 @@ Assignment.prototype.toString = function() { */ Object.defineProperty(Assignment.prototype, '_summaryJson', { get: function() { - var predictionCount = '<async>'; - th...
refactor-<I>: Remove predictions from json summary When everything is async then they won’t show anyway, and it was always a bit of a nasty hack.
joewalker_gcli
train
5240fbe3b0055685c2c5e1c6b461568dbaa89991
diff --git a/src/Http/Controllers/Frontend/AuthenticationController.php b/src/Http/Controllers/Frontend/AuthenticationController.php index <HASH>..<HASH> 100644 --- a/src/Http/Controllers/Frontend/AuthenticationController.php +++ b/src/Http/Controllers/Frontend/AuthenticationController.php @@ -22,6 +22,8 @@ class Authe...
Update controller constructors to reflect cortex/foundation update regarding browsing area detection
rinvex_cortex-auth
train
a2f2041331ddd6fcda9b15c2674ae4992da8c68e
diff --git a/src/ForecastClient.php b/src/ForecastClient.php index <HASH>..<HASH> 100644 --- a/src/ForecastClient.php +++ b/src/ForecastClient.php @@ -6,25 +6,85 @@ use GuzzleHttp\Client; class ForecastClient { + const BASE_URI = 'https://api.forecastapp.com'; + const AUTH_BASE_URI = 'https://id.getharvest.co...
Update forecast client to allow authentication using username/password
caxy_php-forecast-api-client
train
ab71192ed34369761f918e9b0eb58b349206d63b
diff --git a/lib/waterline/model/lib/defaultMethods/toObject.js b/lib/waterline/model/lib/defaultMethods/toObject.js index <HASH>..<HASH> 100644 --- a/lib/waterline/model/lib/defaultMethods/toObject.js +++ b/lib/waterline/model/lib/defaultMethods/toObject.js @@ -75,13 +75,19 @@ toObject.prototype.addAssociations = func...
don't call toJSON on values that were not populated
balderdashy_waterline
train
14dcfeed73673aef5e3815b6ce4d921d47f1a29e
diff --git a/src/wormhole/codes.py b/src/wormhole/codes.py index <HASH>..<HASH> 100644 --- a/src/wormhole/codes.py +++ b/src/wormhole/codes.py @@ -17,9 +17,6 @@ def extract_channel_id(code): channel_id = int(code.split("-")[0]) return channel_id -import readline -#import sys - class CodeInputter: def ...
tolerate lack of readline at runtime 'readline' is part of the python stdlib, so declaring a dependency on it doesn't help. It doesn't exist on windows, and the pypi 'readline' module doesn't work on windows. So instead, just attempt to import readline, and if that fails, fall back to a non-completion flavor.
warner_magic-wormhole
train
e9076d383ff6b8e251f10f7d7001636b5ee22341
diff --git a/hellocharts-library/src/lecho/lib/hellocharts/model/Axis.java b/hellocharts-library/src/lecho/lib/hellocharts/model/Axis.java index <HASH>..<HASH> 100644 --- a/hellocharts-library/src/lecho/lib/hellocharts/model/Axis.java +++ b/hellocharts-library/src/lecho/lib/hellocharts/model/Axis.java @@ -13,6 +13,7 @@...
Added isAutoGenerated flag for Axis
lecho_hellocharts-android
train
cab8af4ca987d9eadc7494706c037c06444dcd29
diff --git a/Framework/Component/DomEl.cmp.php b/Framework/Component/DomEl.cmp.php index <HASH>..<HASH> 100644 --- a/Framework/Component/DomEl.cmp.php +++ b/Framework/Component/DomEl.cmp.php @@ -624,7 +624,19 @@ public function __set($key, $value) { } public function __toString() { - return "DomEl({$this->_tagName}...
Improved DomElement's toString representation
PhpGt_WebEngine
train
84532013ef3048e7d8d0dc42df10207d71254f08
diff --git a/src/main/com/mongodb/CommandResult.java b/src/main/com/mongodb/CommandResult.java index <HASH>..<HASH> 100644 --- a/src/main/com/mongodb/CommandResult.java +++ b/src/main/com/mongodb/CommandResult.java @@ -78,7 +78,7 @@ public class CommandResult extends BasicDBObject { } } - ...
JAVA-<I>: Reverting behavioral change to CommandResult.getException. It now returns null, as before, if there is no exception, instead of throwing IllegalStateException.
mongodb_mongo-java-driver
train
68ea80b654411c4939aa3284ab66171dcdfdaf63
diff --git a/ArgusCore/src/main/java/com/salesforce/dva/argus/service/alert/NotificationsCacheRefresherThread.java b/ArgusCore/src/main/java/com/salesforce/dva/argus/service/alert/NotificationsCacheRefresherThread.java index <HASH>..<HASH> 100644 --- a/ArgusCore/src/main/java/com/salesforce/dva/argus/service/alert/Noti...
Made changes to commit to database for every merge operation. Also, reduced the notification cache refresh interval
salesforce_Argus
train
538fdc076af75e75b1a90e505e70257f5ce56df2
diff --git a/tests/tests/User/GroupTest.php b/tests/tests/User/GroupTest.php index <HASH>..<HASH> 100644 --- a/tests/tests/User/GroupTest.php +++ b/tests/tests/User/GroupTest.php @@ -161,6 +161,7 @@ class GroupTest extends UserTestCase $groupA = Group::add('Group A', 'This is a test group A'); $groupB...
Add new tests for FilterByInAnyGroup
concrete5_concrete5
train
7ffff3dd6767dd5f0c7c3a7f1c778a38d687d710
diff --git a/p2p/host/peerstore/pstoreds/addr_book.go b/p2p/host/peerstore/pstoreds/addr_book.go index <HASH>..<HASH> 100644 --- a/p2p/host/peerstore/pstoreds/addr_book.go +++ b/p2p/host/peerstore/pstoreds/addr_book.go @@ -272,7 +272,7 @@ func (ab *dsAddrBook) background() { go func() { select { case <-time.Aft...
rename GCPruneInterval to GCPurgeInterval for consistency.
libp2p_go-libp2p
train
e13b18d662c5a2c7f969a7581804cd9c96bba0d3
diff --git a/lib/genki.js b/lib/genki.js index <HASH>..<HASH> 100644 --- a/lib/genki.js +++ b/lib/genki.js @@ -32,7 +32,10 @@ Genki.prototype.addStyle = function(options) { this.options = assign(this.options, options); var styles = barista(this.options); if (styles) { - this.$('head').append('<style>'+style...
Update .addStyle() to use native JS methods
ItsJonQ_genki
train
85341987e120464ee7db23b4195a4baf73d96523
diff --git a/assembly/coverage.py b/assembly/coverage.py index <HASH>..<HASH> 100644 --- a/assembly/coverage.py +++ b/assembly/coverage.py @@ -121,17 +121,20 @@ def bed_to_bedpe(bedfile, bedpefile, pairsbedfile=None, matesfile=None, ca=False nbedpe = 0 nspan = 0 for clonename, blines in clones.items(): -...
[graphics] sort seqids with --nolayout in mummerplot
tanghaibao_jcvi
train
fde0c8bf4643b4e713d6128c1b972964da3b6c1c
diff --git a/src/test/java/com/uwetrottmann/getglue/BaseTestCase.java b/src/test/java/com/uwetrottmann/getglue/BaseTestCase.java index <HASH>..<HASH> 100644 --- a/src/test/java/com/uwetrottmann/getglue/BaseTestCase.java +++ b/src/test/java/com/uwetrottmann/getglue/BaseTestCase.java @@ -10,7 +10,7 @@ public abstract cla...
Refresh access token while we're at it.
UweTrottmann_getglue-java
train
a5fe905ad9fd16ab81d984155682c0ab23306400
diff --git a/lib/fastlane/actions/reset_git_repo.rb b/lib/fastlane/actions/reset_git_repo.rb index <HASH>..<HASH> 100644 --- a/lib/fastlane/actions/reset_git_repo.rb +++ b/lib/fastlane/actions/reset_git_repo.rb @@ -3,10 +3,21 @@ module Fastlane # Does a hard reset and clean on the repo class ResetGitRepoActio...
Added :files option for reset_git action to only reset certain files
fastlane_fastlane
train
257a90cac6cd5c20f391782da0fa28f354d518ab
diff --git a/src/bselect.js b/src/bselect.js index <HASH>..<HASH> 100644 --- a/src/bselect.js +++ b/src/bselect.js @@ -25,7 +25,7 @@ curr[ option ] = value; return this; } - } else if ( $.isPlainObject(option) ) { + } else if ( $.isPlainObject( option ) ) { return this.data( "bselect", $....
Small fix for fitting jQuery coding style.
gustavohenke_bselect
train
768610c6afbc117c0a567d74c6c8fe41aca92f11
diff --git a/core-bundle/src/Csrf/MemoryTokenStorage.php b/core-bundle/src/Csrf/MemoryTokenStorage.php index <HASH>..<HASH> 100644 --- a/core-bundle/src/Csrf/MemoryTokenStorage.php +++ b/core-bundle/src/Csrf/MemoryTokenStorage.php @@ -92,6 +92,10 @@ class MemoryTokenStorage implements TokenStorageInterface */ ...
[Core] Do not return the used tokens if the storage has not been initialized (see #<I>).
contao_contao
train
9abb2d0cf3927516378125b8e95cfe39eb70d1a6
diff --git a/src/frontend/org/voltcore/zk/ZKUtil.java b/src/frontend/org/voltcore/zk/ZKUtil.java index <HASH>..<HASH> 100644 --- a/src/frontend/org/voltcore/zk/ZKUtil.java +++ b/src/frontend/org/voltcore/zk/ZKUtil.java @@ -59,6 +59,18 @@ public class ZKUtil { } } + /** + * Helper to produce a val...
ZK path fixups to make InitiatorMailbox compile
VoltDB_voltdb
train
aea48e429c2764e7356b0420c7e9e46ed4effe66
diff --git a/everest/constants.py b/everest/constants.py index <HASH>..<HASH> 100644 --- a/everest/constants.py +++ b/everest/constants.py @@ -6,6 +6,7 @@ See LICENSE.txt for licensing, CONTRIBUTORS.txt for contributor information. Created on Mar 29, 2013. """ +from pyramid.compat import PY3 __docformat__ = 'reS...
Changed the way the ConstantGroup class is defined to make pylint v. 1.x happy.
helixyte_everest
train
059729c35d94c233abc794d9c2bfd708da1b8170
diff --git a/sdk/cosmos/azure-cosmos-encryption/src/test/java/com/azure/cosmos/encryption/DotNetCompatibleTest.java b/sdk/cosmos/azure-cosmos-encryption/src/test/java/com/azure/cosmos/encryption/DotNetCompatibleTest.java index <HASH>..<HASH> 100644 --- a/sdk/cosmos/azure-cosmos-encryption/src/test/java/com/azure/cosmos...
Disabled Item Patch Failure test while we fix emulator issues (#<I>) * Disabled Item Patch Failure test while we fix emulator issues * Disabled DotNetCompatibleTest
Azure_azure-sdk-for-java
train
cdac12875fbaafa566f94b05ac04df48fe9d137f
diff --git a/quasar/src/mixins/panel.js b/quasar/src/mixins/panel.js index <HASH>..<HASH> 100644 --- a/quasar/src/mixins/panel.js +++ b/quasar/src/mixins/panel.js @@ -144,7 +144,7 @@ export const PanelParentMixin = { }, __swipe (evt) { - this.__go(evt.direction === 'left' ? 1 : -1) + this.__go((th...
fix(quasar): RTL support for panels
quasarframework_quasar
train
9f90370b6defc5eaf57c81c507ed459a8acd3064
diff --git a/h2o-core/src/main/java/water/MRTask.java b/h2o-core/src/main/java/water/MRTask.java index <HASH>..<HASH> 100644 --- a/h2o-core/src/main/java/water/MRTask.java +++ b/h2o-core/src/main/java/water/MRTask.java @@ -326,7 +326,7 @@ public abstract class MRTask<T extends MRTask<T>> extends DTask<T> implements Fo ...
Handle case of various bad args to Parser Silly broken ParseSetup (sep=='4' for e.g. CSV, SVMLight and XLS files), amongst other weird flags. Should not crash.
h2oai_h2o-3
train
eaec5b7138cb4bb26f7b4723f6dcec9da1f23a66
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,6 @@ from setuptools import setup, find_packages -version = '0.1b7' +version = '0.1b8' f = open('README.rst') long_description = f.read().strip() @@ -31,7 +31,7 @@ setup(name='bugwarrior', "bitlyapi",...
Version bump for undo.data stuff. Thanks, Ryan!
ralphbean_bugwarrior
train
c825df0c4371c5827a0921d68bca435c2d825437
diff --git a/lxd/db/cluster/open.go b/lxd/db/cluster/open.go index <HASH>..<HASH> 100644 --- a/lxd/db/cluster/open.go +++ b/lxd/db/cluster/open.go @@ -6,7 +6,7 @@ import ( "path/filepath" "sync/atomic" - "github.com/canonical/go-dqlite" + dqlite "github.com/canonical/go-dqlite" "github.com/lxc/lxd/lxd/db/query"...
Use query.Transaction instead of manual tx management
lxc_lxd
train
9146d28b45f09a6a33d86daf8a644af120c655c6
diff --git a/lib/websocket_rails/channel.rb b/lib/websocket_rails/channel.rb index <HASH>..<HASH> 100644 --- a/lib/websocket_rails/channel.rb +++ b/lib/websocket_rails/channel.rb @@ -18,7 +18,7 @@ module WebsocketRails def unsubscribe(connection) return unless @subscribers.include? connection - log "...
Use new logger in Channel#unsubscribe.
websocket-rails_websocket-rails
train
2548af807f8e38a8029d494565706ca36a19a273
diff --git a/src/auth.js b/src/auth.js index <HASH>..<HASH> 100644 --- a/src/auth.js +++ b/src/auth.js @@ -217,7 +217,7 @@ module.exports = function () { var i, auth, query = '', - redirect = transition.path; + redirect = transition && transition.path; ...
Fix crash when transition is null Add a missing null check in processInvalidToken
websanova_vue-auth
train
0a6cd7b0e1d2d5c42506ed093ecca0a540b12adb
diff --git a/src/EntityManagerFactory.php b/src/EntityManagerFactory.php index <HASH>..<HASH> 100644 --- a/src/EntityManagerFactory.php +++ b/src/EntityManagerFactory.php @@ -132,13 +132,34 @@ class EntityManagerFactory { if (isset($settings['events']['listeners'])) { foreach ($settings['even...
Added the ability to add multiple listeners to each event. In <I> release each Doctrine event can only have one listener attached to it, but it would be helpful to be able to add many listeners to a single event (the same effect can currently be achieved by adding multiple subscribers). This PR should have no BC break...
laravel-doctrine_orm
train
c7fa3949357ca47234fcac4115a2fb875fd0b593
diff --git a/src/main/java/com/conveyal/gtfs/loader/Table.java b/src/main/java/com/conveyal/gtfs/loader/Table.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/conveyal/gtfs/loader/Table.java +++ b/src/main/java/com/conveyal/gtfs/loader/Table.java @@ -695,13 +695,14 @@ public class Table { * FIXME: add for...
refactor(load): skip indexing on feed_info
conveyal_gtfs-lib
train
1bfed540dcfdabf8ff412115abec8ed3ad5a3858
diff --git a/angr/sim_manager.py b/angr/sim_manager.py index <HASH>..<HASH> 100644 --- a/angr/sim_manager.py +++ b/angr/sim_manager.py @@ -116,7 +116,7 @@ class SimulationManager(ana.Storable, ImmutabilityMixin): def __repr__(self): stashes_repr = ', '.join(("%d %s" % (len(v), k)) for k, v in self._stas...
simgr repr should show errored; errored should not spawn deadended
angr_angr
train
a376e19b419211070d7d0fb32cd3066eb50eb3f5
diff --git a/lib/chewy/type/import.rb b/lib/chewy/type/import.rb index <HASH>..<HASH> 100644 --- a/lib/chewy/type/import.rb +++ b/lib/chewy/type/import.rb @@ -13,7 +13,7 @@ module Chewy # UsersIndex::User.import User.active # imports active users # UsersIndex::User.import [1, 2, 3] ...
Fix a typo in comments (#<I>)
toptal_chewy
train
79935fb9b3214895a80ee8329edf58787ab4f6f0
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -45,7 +45,7 @@ module.exports = function(source) { // compile and generate sourcemaps const {code, map} = compile( source, - Object.assign(opts, { sourcemap: this.sourceMap }), + Object.assign(opts, { sourcema...
Allow disabling sourcemaps from loader config
riot_webpack-loader
train
7c8ba44d0503c75773dbb9b84656332405ee3f62
diff --git a/stripe/build.gradle b/stripe/build.gradle index <HASH>..<HASH> 100644 --- a/stripe/build.gradle +++ b/stripe/build.gradle @@ -17,7 +17,7 @@ dependencies { // Api for this import because we use reflection to alter TextInputLayout api "com.android.support:design:28.0.0" - implementation "com.s...
Update 3DS2 dependency (#<I>)
stripe_stripe-android
train
0fa6127c2a4c168a54f9cba103ae1af49a904b07
diff --git a/vue-jwt-auth.js b/vue-jwt-auth.js index <HASH>..<HASH> 100644 --- a/vue-jwt-auth.js +++ b/vue-jwt-auth.js @@ -102,13 +102,20 @@ module.exports = (function () { var _this = this if (_getToken.call(this)) { - this.$http.get(this.getOption('tokenUrl')) + this.$http.ge...
Set refresh token time based on expiry time in token.
websanova_vue-auth
train
e17bf0fde48ef453bc42db2795df9efe9ffe7e5c
diff --git a/test/test_whatwg.py b/test/test_whatwg.py index <HASH>..<HASH> 100644 --- a/test/test_whatwg.py +++ b/test/test_whatwg.py @@ -306,16 +306,7 @@ class TestWhatwgURL: "http://www.example.com/#Fragment", "http://username:password@www.example.com:1234/?query=string#fragment", ]) -@pytest.mark.parametriz...
Minor optimization, compaction, and additional inclusion of division operator resolution.
marrow_uri
train
8ad78ce9173712138da22409056ee4d953798016
diff --git a/WordPress/Sniff.php b/WordPress/Sniff.php index <HASH>..<HASH> 100644 --- a/WordPress/Sniff.php +++ b/WordPress/Sniff.php @@ -401,6 +401,44 @@ abstract class WordPress_Sniff implements PHP_CodeSniffer_Sniff { ); /** + * A list of functions that invoke WP hooks (filters/actions). + * + * @since 0.1...
Move function name list to `WordPress_Sniff` class. Also: * Add function name list for the other hook functions to the `WordPress_Sniff` class as well. * Ignore deprecated hook names for the purposes of the valid hook name sniff + add unit test verifying that.
WordPress-Coding-Standards_WordPress-Coding-Standards
train
f6ba777bc5f04664265585cf50ade04f75352c48
diff --git a/sentry/media/scripts/global.js b/sentry/media/scripts/global.js index <HASH>..<HASH> 100644 --- a/sentry/media/scripts/global.js +++ b/sentry/media/scripts/global.js @@ -110,9 +110,9 @@ function sentryRefresh(){ var id = el[0]; var data = el[1]; if ((row = $('#g...
Revert change which was only removing the row if count changed (causes problems with order)
elastic_apm-agent-python
train
f6b9401d7adab6b83f48d7e8c5bd19c9880ba0a9
diff --git a/hordak/models/core.py b/hordak/models/core.py index <HASH>..<HASH> 100644 --- a/hordak/models/core.py +++ b/hordak/models/core.py @@ -132,6 +132,9 @@ class Account(MPTTModel): if is_creating: update_fields = None else: + # See issues #19 & #31. It seems that on Dja...
Adding comment to explain Django <I> fix
adamcharnock_django-hordak
train
7335f3cff66b8d0227d326e6874a87193e1d2550
diff --git a/airflow/configuration.py b/airflow/configuration.py index <HASH>..<HASH> 100644 --- a/airflow/configuration.py +++ b/airflow/configuration.py @@ -389,7 +389,7 @@ class AirflowConfigParser(ConfigParser): if include_env: for ev in [ev for ev in os.environ if ev.startswith('AIRFLOW__')]:...
[AIRFLOW-<I>] fix env var expansion for config key contains __ (#<I>)
apache_airflow
train
a4367739a01bf12c06017ac66a4818d932c2e0e2
diff --git a/src/sos/utils.py b/src/sos/utils.py index <HASH>..<HASH> 100644 --- a/src/sos/utils.py +++ b/src/sos/utils.py @@ -1290,7 +1290,7 @@ class TimeoutInterProcessLock(fasteners.InterProcessLock): config_cache: dict = {} -def load_config_files(filename=None): +def load_config_files(filename=None, default_co...
Add option default_config_files to load_config_files to allow more accurate testing
vatlab_SoS
train
aac65eba9398797692d5a093d2a5db74fb35c5b1
diff --git a/src/Cart/CartConditions.php b/src/Cart/CartConditions.php index <HASH>..<HASH> 100644 --- a/src/Cart/CartConditions.php +++ b/src/Cart/CartConditions.php @@ -9,16 +9,24 @@ class CartConditions extends Collection { public function applied($subtotal) { - return $this->sortBy(function ($cond...
Fix issue with cart conditions priority to calculate total properly
tastyigniter_flame
train
261ee1b6da9d38d436550890c4c867cadb89c4ee
diff --git a/core/src/main/java/com/orientechnologies/orient/core/storage/cache/local/OWOWCache.java b/core/src/main/java/com/orientechnologies/orient/core/storage/cache/local/OWOWCache.java index <HASH>..<HASH> 100755 --- a/core/src/main/java/com/orientechnologies/orient/core/storage/cache/local/OWOWCache.java +++ b/c...
Write cache chunk size is set to <I>MB
orientechnologies_orientdb
train
cf1562c84c2cb6b5186182b936c12c40c57f4a91
diff --git a/test/integration/short/timeout-tests.js b/test/integration/short/timeout-tests.js index <HASH>..<HASH> 100644 --- a/test/integration/short/timeout-tests.js +++ b/test/integration/short/timeout-tests.js @@ -183,6 +183,51 @@ describe('client read timeouts', function () { client.shutdown.bind(client)...
Failing test for eachRow() retry attempt after read timeout
datastax_nodejs-driver
train
40881d732cb919a1cd7f9f0bb3192bb45f1dbda0
diff --git a/src/main/java/com/harium/keel/filter/color/YCbCrColorStrategy.java b/src/main/java/com/harium/keel/filter/color/YCbCrColorStrategy.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/harium/keel/filter/color/YCbCrColorStrategy.java +++ b/src/main/java/com/harium/keel/filter/color/YCbCrColorStrategy.ja...
Add getColor to YCbCrColorStrategy
Harium_keel
train
e18887550c4cfc4618ce172b24c8066e70c928b7
diff --git a/salt/netapi/rest_cherrypy/app.py b/salt/netapi/rest_cherrypy/app.py index <HASH>..<HASH> 100644 --- a/salt/netapi/rest_cherrypy/app.py +++ b/salt/netapi/rest_cherrypy/app.py @@ -16,7 +16,7 @@ A REST API for Salt introduced in version 3.2.5. The issue was reportedly resolved with CherryPy mile...
What I ended up using to debug CherryPy SSE Previous example didn't parse the JSON out
saltstack_salt
train
4bfc91b37f9304b08ed01bd0433685a0b5f36ac3
diff --git a/bql/semantic/semantic.go b/bql/semantic/semantic.go index <HASH>..<HASH> 100644 --- a/bql/semantic/semantic.go +++ b/bql/semantic/semantic.go @@ -19,6 +19,7 @@ package semantic import ( + "sort" "time" "github.com/google/badwolf/triple" @@ -203,3 +204,28 @@ func (s *Statement) Bindings() map[stri...
Add clause sorting by specificity.
google_badwolf
train
fa10fdfde5d1c858722e6abd39f54a6773bd4b0c
diff --git a/lib/airbrake/rails/middleware/debug_exceptions_catcher.rb b/lib/airbrake/rails/middleware/debug_exceptions_catcher.rb index <HASH>..<HASH> 100644 --- a/lib/airbrake/rails/middleware/debug_exceptions_catcher.rb +++ b/lib/airbrake/rails/middleware/debug_exceptions_catcher.rb @@ -14,9 +14,18 @@ module Airbrak...
ignore user agents in rails <I>+
airbrake_airbrake
train
7140974136ba80c84cc7ddb125ce1f9919bbff18
diff --git a/src/main/java/com/yammer/dropwizard/authenticator/LdapAuthenticator.java b/src/main/java/com/yammer/dropwizard/authenticator/LdapAuthenticator.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/yammer/dropwizard/authenticator/LdapAuthenticator.java +++ b/src/main/java/com/yammer/dropwizard/authentica...
Fix some broken logging which cascaded exceptions
yammer_dropwizard-auth-ldap
train
0c879c725f594b0f22a44f5f953a73aac1d6c51a
diff --git a/src/Moltin/SDK/Request/CURL.php b/src/Moltin/SDK/Request/CURL.php index <HASH>..<HASH> 100644 --- a/src/Moltin/SDK/Request/CURL.php +++ b/src/Moltin/SDK/Request/CURL.php @@ -64,7 +64,11 @@ class CURL implements \Moltin\SDK\RequestInterface // Inline arrays foreach ( $post as $key ...
Check if value has been passed for post param
moltin_php-sdk
train
3a2f28708f359d7cc6839758f696e2c5585f8dd3
diff --git a/pypeerassets/main.py b/pypeerassets/main.py index <HASH>..<HASH> 100644 --- a/pypeerassets/main.py +++ b/pypeerassets/main.py @@ -106,9 +106,9 @@ class Deck: "issue_mode": self.issue_mode } -def deck_spawn(provider, deck, network, utxos=None, change_address=None, prod=True): +def de...
make spawn_deck provider agnostic.
PeerAssets_pypeerassets
train
7bf6e524bc89a5893bad56b7214310defed4b3df
diff --git a/aioxmpp/errors.py b/aioxmpp/errors.py index <HASH>..<HASH> 100644 --- a/aioxmpp/errors.py +++ b/aioxmpp/errors.py @@ -232,6 +232,12 @@ class StreamErrorCondition(structs.CompatibilityMixin, xso.XSOEnumMixin, enum.Enum): """ + Enumeration to re...
Changelog entry and polishing for error enum change
horazont_aioxmpp
train
49928cbcda6f4990e2f8e20a22026cc58f1ed35b
diff --git a/commerce-openapi-admin/src/main/java/com/liferay/commerce/openapi/admin/model/PriceListDTO.java b/commerce-openapi-admin/src/main/java/com/liferay/commerce/openapi/admin/model/PriceListDTO.java index <HASH>..<HASH> 100644 --- a/commerce-openapi-admin/src/main/java/com/liferay/commerce/openapi/admin/model/P...
COMMERCE-<I> Regen DTOs with the proper Java type
liferay_com-liferay-commerce
train
14408369495d9fc6822013224c0d288ad4a967fc
diff --git a/lib/csvlint.rb b/lib/csvlint.rb index <HASH>..<HASH> 100644 --- a/lib/csvlint.rb +++ b/lib/csvlint.rb @@ -113,9 +113,7 @@ module Csvlint case col when /^[0-9]+$/ @formats[i] << :numeric - when /^[a-z *]+$/i - @formats[i] << :alpha - when /^[a-z0...
Reduced to two main column types: numeric and alpha numeric with punctuation
theodi_csvlint.rb
train
4db445289a00cad35a073833e8426de009449ff4
diff --git a/lib/rbvmomi/vim.rb b/lib/rbvmomi/vim.rb index <HASH>..<HASH> 100644 --- a/lib/rbvmomi/vim.rb +++ b/lib/rbvmomi/vim.rb @@ -42,7 +42,7 @@ class VIM < Connection opts[:rev] = '6.0' unless rev_given opts[:debug] = (!ENV['RBVMOMI_DEBUG'].empty? rescue false) unless opts.member? :debug - new(opts)...
Handle closing session correctly Logout was called on a newly created SessionManager object which was given a potentially incorrect name. If named incorrectly, this can lead to attempting to close a session that doesn't exist and not actually closing the session in use. Replaced with the currently in-use SessionManage...
vmware_rbvmomi
train
667be559e3fd5905d6d8a78d7bc9fa83dbedcb25
diff --git a/lib/typhoeus/remote.rb b/lib/typhoeus/remote.rb index <HASH>..<HASH> 100644 --- a/lib/typhoeus/remote.rb +++ b/lib/typhoeus/remote.rb @@ -99,7 +99,51 @@ module Typhoeus raise MockExpectedError, message end end - + + def check_expected_headers!(response_args, options) + miss...
Added the ability to do better header expectations on a mock request.
typhoeus_typhoeus
train
85f63decea171ab60ebb6996dff2f3774055fa87
diff --git a/src/Navigation/Page.php b/src/Navigation/Page.php index <HASH>..<HASH> 100644 --- a/src/Navigation/Page.php +++ b/src/Navigation/Page.php @@ -51,7 +51,11 @@ class Page extends \KodiComponents\Navigation\Page */ public function getId() { - return $this->model; + if (is_null($th...
Fix problem with searching page by id
LaravelRUS_SleepingOwlAdmin
train
62b7395625ea31cd3d25a133163612a96de65f8a
diff --git a/test/repository.spec.js b/test/repository.spec.js index <HASH>..<HASH> 100644 --- a/test/repository.spec.js +++ b/test/repository.spec.js @@ -121,7 +121,7 @@ describe('Repository', function() { }); it('should list commits with no options', function(done) { - remoteRepo.listCommits(n...
modified 'listCommits' test with no options
github-tools_github
train
54543d9eecf8627cfb374d2d086e4ad14fe771f6
diff --git a/lib/python/vdm/server/HTTPListener.py b/lib/python/vdm/server/HTTPListener.py index <HASH>..<HASH> 100644 --- a/lib/python/vdm/server/HTTPListener.py +++ b/lib/python/vdm/server/HTTPListener.py @@ -1074,45 +1074,37 @@ def etree_to_dict(t): def handle_deployment_dict(deployment_elem, key, value, istop)...
VDM-<I> Modified code to remove empty objects from XML file.
VoltDB_voltdb
train
fb432cb4b78fd5625f58b27f8bb75c344cfc3d8c
diff --git a/README.md b/README.md index <HASH>..<HASH> 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ Ruby gem to access 3D Hubs' API =============================== -Example usage +Configuration ------------- ```rb @@ -9,18 +9,39 @@ Hubs3D.configure do |c| c.oauth_key = "YOUR_API_KEY_HERE" c.oau...
Rename amount to amount_cents
sunny_hubs3d
train
c33b16bf42f66f17d6c1d227483cb837ef06aa03
diff --git a/merge_iterator.go b/merge_iterator.go index <HASH>..<HASH> 100644 --- a/merge_iterator.go +++ b/merge_iterator.go @@ -55,7 +55,7 @@ func NewMergeIterator(itrs []Iterator, f MergeFunc) (*MergeIterator, error) { } rv.init() if rv.lowK == nil { - return nil, ErrIteratorDone + return rv, ErrIteratorDon...
fix behavior for merge iterator on empty list Should return non-nil, functional merge iterator AND return ErrIteratorDone. Subsequent calls to interface methods are valid but keep returning ErrIteratorDone or zero values as appropriate. Also added a test case for this behavior.
couchbase_vellum
train
59efaf3f65ceea86781ea1f028e69f3e96f59e2c
diff --git a/net/http/httpjson/io.go b/net/http/httpjson/io.go index <HASH>..<HASH> 100644 --- a/net/http/httpjson/io.go +++ b/net/http/httpjson/io.go @@ -23,6 +23,9 @@ func Read(ctx context.Context, r io.Reader, v interface{}) error { err := json.NewDecoder(r).Decode(v) if err != nil { detail := errors.Detail(e...
core: add detail for invalid request body error msg The ErrBadRequest error is a bit vague. Although we cannot give a more granular answer, this commit gives the client's developer a hint. Mentioned here: <URL>
chain_chain
train
7654ef1c1cf525274c4bd59e5baf17a2d4435fe1
diff --git a/src/Utils/Utils.php b/src/Utils/Utils.php index <HASH>..<HASH> 100644 --- a/src/Utils/Utils.php +++ b/src/Utils/Utils.php @@ -635,7 +635,7 @@ class Utils public static function suggestionList($input, array $options) { $optionsByDistance = []; - $inputThreshold = mb_strlen($inpu...
Improved threshold for a list of suggestions on typos
webonyx_graphql-php
train
a24fb381e944567bedaa9f97dd943fd656ea76cc
diff --git a/scapy/main.py b/scapy/main.py index <HASH>..<HASH> 100644 --- a/scapy/main.py +++ b/scapy/main.py @@ -16,6 +16,7 @@ import importlib import logging from random import choice import types +import io # Never add any global import, in main.py, that would trigger a warning messsage # before the console ...
Don't fail while reading non ascii characters
secdev_scapy
train
c682914b0b231f6cad204a86e565551e51d387c0
diff --git a/nl/nl_linux.go b/nl/nl_linux.go index <HASH>..<HASH> 100644 --- a/nl/nl_linux.go +++ b/nl/nl_linux.go @@ -451,7 +451,7 @@ type NetlinkSocket struct { } func getNetlinkSocket(protocol int) (*NetlinkSocket, error) { - fd, err := syscall.Socket(syscall.AF_NETLINK, syscall.SOCK_RAW, protocol) + fd, err := ...
Set SOCK_CLOEXEC when creating netlink socket - So that the socket is not shared across execs
vishvananda_netlink
train
2d78c876444fb51d60f84a8c2dffbd65ffc75b73
diff --git a/lib/api/readable.js b/lib/api/readable.js index <HASH>..<HASH> 100644 --- a/lib/api/readable.js +++ b/lib/api/readable.js @@ -93,12 +93,11 @@ module.exports = class BodyReadable extends Readable { } push (chunk) { - if (this[kConsume] && chunk !== null && !this[kReading]) { + if (this[kConsum...
fix: readable consume with streaming (#<I>) * fix: readable consume with streaming * fixup * fixup * fixup
mcollina_undici
train
27ec894c049655a05b41afb2abd2bd036810e6d0
diff --git a/src/main/java/org/jdbdt/VersionInfo.java b/src/main/java/org/jdbdt/VersionInfo.java index <HASH>..<HASH> 100644 --- a/src/main/java/org/jdbdt/VersionInfo.java +++ b/src/main/java/org/jdbdt/VersionInfo.java @@ -33,7 +33,7 @@ final class VersionInfo { /** * Version Id. */ - static final String ID...
Post-release cleanup [skip ci]
JDBDT_jdbdt
train
557d17c7f9bb1be627c452e327cccad2a9fea8dd
diff --git a/lib/podio/models/item.rb b/lib/podio/models/item.rb index <HASH>..<HASH> 100644 --- a/lib/podio/models/item.rb +++ b/lib/podio/models/item.rb @@ -33,6 +33,7 @@ class Podio::Item < ActivePodio::Base # Get items property :comment_count, :integer property :task_count, :integer + property :subscribed...
Added subscribed_count property to item model
podio_podio-rb
train
3a87b13b01ac8628694f1e1b20bdb452cc0f54d2
diff --git a/app_test.go b/app_test.go index <HASH>..<HASH> 100644 --- a/app_test.go +++ b/app_test.go @@ -329,6 +329,39 @@ func TestApp_CommandWithArgBeforeFlags(t *testing.T) { expect(t, firstArg, "my-arg") } +func TestApp_CommandWithArgBeforeBoolFlags(t *testing.T) { + var parsedOption, parsedSecondOption, firs...
Fix args reordering when bool flags are present
urfave_cli
train
20d0c70f9760d1bb2c42e8c82b5ee2cc40c2db08
diff --git a/zappa/cli.py b/zappa/cli.py index <HASH>..<HASH> 100644 --- a/zappa/cli.py +++ b/zappa/cli.py @@ -68,6 +68,9 @@ class ZappaCLI(object): help="Command to execute. Can be one of 'deploy', 'update', 'tail' and 'rollback'.") parser.add_argument('-n', '--num-rollback', type=int,...
Add -s ability to supply settingsfile
Miserlou_Zappa
train
aaac430e62563a4f281cc7b0cb73191283ef0f92
diff --git a/javascript/DMSGridField.js b/javascript/DMSGridField.js index <HASH>..<HASH> 100644 --- a/javascript/DMSGridField.js +++ b/javascript/DMSGridField.js @@ -80,6 +80,13 @@ } }); + $('.ss-gridfield-item a.file-url').entwine({ + onclick: function(e) { + //make sure the download link doesn't trigg...
ENHANCEMENT: not trigger a grid field detail edit dialog when clicking on a download link
silverstripe_silverstripe-dms
train
a6125d19c7f6b7a30cdeecd1d3ba912f12c60c28
diff --git a/src/javascript/lib/core/patterns/defmatch.js b/src/javascript/lib/core/patterns/defmatch.js index <HASH>..<HASH> 100644 --- a/src/javascript/lib/core/patterns/defmatch.js +++ b/src/javascript/lib/core/patterns/defmatch.js @@ -100,7 +100,7 @@ export function match(pattern: any, expr: any, guard: Function = ...
Fixed undefined variable in error logging for match errors
elixirscript_elixirscript
train